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 |
please give me the code for doing retesting of gmail login page using functions so the function has to give the value
How can I use the value retrieved by OUTPUT VALUE check point as Input for other Actions?
any one can explain about QTP proocess,means where to start and how to start Scripting.
In qtp, explain what is qrs file?
I am not able to record yahoomail browser.its giving error like "The browser Application can't be launched .Posssibly the URL is wrong" So anyone can tell me what setting i have to do in qtp??
What type of framework you are using in your company and explain it?
How to handle Java tree in QTP?
How to integrate QTP with QC using VB Scripting? What are the prerequisites to connect with QC?
There is a table with 4 columns and 10 rows, how to write the script to display the first column records using qtp? can anybody help me with script?
where did you automate in your project?(please tell me example senarios)
Hi Friends, How many types of Data Bases available in market... What is the diff. while using Syabase and Oracle in a Project... ? and what is the main diff. of Syabase and Oracle databases... ? Thanx in advance..
How does qtp identify objects in the application?