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 |
does QTP provides any tools for parametrisation?
How can we use the "CreateObject ("Scripting.FileSystemObject")" in QTP and what is the definition and purpose of it?
How can i Save the snapshots in a specified folders using Scripting in QTP?
Hi friends, In a particular test how many maximum call to new actions we can call?It reusable or normal actions what ever it is .
Brief the process of testing with UFT?
Idid my qtp course in 2007 june in mind Q i for got to use this tool ,i want to mention in my resume about this ,how can i rectify this ,pls give me any idea .
Is QTP a compiler or interpreter..? can you we execute a QTP Script file in a another system which does not have QTP installed..??
What is the difference between keyword view and expert view?
i want information about API testing and i want info like how process can be done in company? i want added info like coding ,debugging, desing in c.v ? what should add in c.v for eg banking domin? pls any answer my question?
It is very difficult to test in manual for that we go to DATA DRIVEN TEST.
What is LoadRunner?
What is the standard timing delay for web based application in qtp?