I have a FortigateB30 and want to do automation QA using C#.net.
I wrote a c# window application and access the webpage through http:\\192.168.1.99 and try to click the webelement which was found by webspy. The program can't find and show null. the path looks like /frame[2]/body/.... And I checked the webpage direct to 192.168.1.99/index and the html for index is simple with several lines for frame and nothing for body...
How can i go through this bottleneck?
Help and Thanks.
A website using frame and webspy found webellement not worki
- Support Team
- Site Admin
- Posts: 12145
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Houston, Texas, USA
- Contact:
- Support Team
- Site Admin
- Posts: 12145
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Houston, Texas, USA
- Contact:
Please try to get the appropriate frame from the Frames property and
try using this as a basis for your automation code.
e.g.
If you are new to Ranorex please consider using version V2.0.1
Michael
Ranorex Team
try using this as a basis for your automation code.
e.g.
Code: Select all
WebDocument frameSet = ....
WebDocument frameDocument = frameSet.Frames[0];
frameDocument.Find(...)
If you are new to Ranorex please consider using version V2.0.1
Michael
Ranorex Team
Re: A website using frame and webspy found webellement not worki
Michael,
Can you elaborate this further? I have a similar situation of my webapp being frames inside frames. A typical object in a spy is like this..
/dom[@domain='mydomain']/frameset/frameset[@id='framename']/frameset[2]/frame[@name=framename2]/body/div/div[6]/tablr/tbody/tr[3]/td[@id='la_01']
If I have to find the content of the table and display in my result, how do i go about it??
thanks
Anu
Can you elaborate this further? I have a similar situation of my webapp being frames inside frames. A typical object in a spy is like this..
/dom[@domain='mydomain']/frameset/frameset[@id='framename']/frameset[2]/frame[@name=framename2]/body/div/div[6]/tablr/tbody/tr[3]/td[@id='la_01']
If I have to find the content of the table and display in my result, how do i go about it??
thanks
Anu
- Support Team
- Site Admin
- Posts: 12145
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Houston, Texas, USA
- Contact:
Re: A website using frame and webspy found webellement not worki
Hi,
I answered your question on following post
http://www.ranorex.com/forum/find-numbe ... html#p8772
It looks like the same issue and you have double-posted it.
Regards,
Peter
Ranorex Team
I answered your question on following post
http://www.ranorex.com/forum/find-numbe ... html#p8772
It looks like the same issue and you have double-posted it.
Regards,
Peter
Ranorex Team