In a yahoo web Application there are 65 links.one day it
will opens 50 links and another day it will open 55
links.In this scenerio write Descriptive programing for
Automation?....Pls write the code for this scenerio.
Answer / gaurav anand
for that page, use description.create() to get an object and then use that object to assign a "micclass" value i.e. in this case is links. then, count the no of links using count(). then store this in a variable and use a for loop to work on these links.
set a = description.create()
a.("micclass").value=links
for(i=0;i<a.count,i++)
set b= browser("").page("").childobjects(a)
-----use b as an object to do whatever you want to do on a link-----
next
| Is This Answer Correct ? | 0 Yes | 0 No |
How do you test the text displayed in the header portion of times of india epaper. Hot news(banner) are scrolling in the top of the page, how do you test using QTP?
How you calling actions in qtp?
Have you used xml check point in your project?
How u will open the build automatically in QTP except using Systemutil.run command
How to Map network drive in QTP
i can done the project with QTP in that time i can say how many members in my team size?
What is test object?
is we can import the object repository from external source. if it so then how?
normally by going through the object properties in object spy we write descriptive programming(correct me if i am wrong). But how or from where can we get the object properties in the object spy?plzzzzzz do answer
What is the difference between property and method?
Synchronozation types in QTP
is there any addin for remedy user application