In google i'm going to search something like "rose", i usually get 10 results in the first page and in 2nd page 10 results and in 3rd 10 results so on upto 10th page 10 results. so if i want to open all the 10 pages 10 results i.e., 100 results and close..what is the DP for this? pls can anyone answer my Question..PLZZZZZ...
Answer Posted / sathya
Set odesc = Description.create
odesc("micclass").value="Browser"
Set Listofbrowser = Desktop.ChildObjects (odesc)
Counter = Listofbrowser.count
Msgbox Counter
For i=0 to Counter-1
val1 = Listofbrowser(i).Page("title:=Rose - Wikipedia, the free encyclopedia").WebElement("html id:=content").GetROProperty("innertext")
Msgbox val1
val2 =Split(val1, "rose" )
val2 = Ubound (val2)
Msgbox Val2
Listofbrowser(i).close
Next
Please correct me if am wrong.......Thanks
Is This Answer Correct ? | 0 Yes | 1 No |
Post New Answer View All Answers
write script for bitmap image?
I want to open a Notepad window without recording a test and I do not want to use System utility Run command as well. How do I do this?
What is the difference between QTP and WinRunner? Why do you choose only QTP for automation among remaing tools like Rational robot and silk test? Write the VBscript for any functionality in your project ? What is the cost of QTP ? If you entered into yahoo mail with your valid user name then you will get FOR EXAMPLE , " welcome to krishna " on the top of inbo page , how can you test it in QTP? What type of testing you can do, when we gave you 5 screens and how can you test that application? What type of framework you are using in your company and explain it?
What is the recovery scenario in qtp?
What are the Disadvantages of shared object repository?
How to record application running on the Virtual machine?
Write a script to verify font style and color of a windows object using descriptive programming
How will you report the bug and explain the defect tracking sheet you handled?
What are the views available in quicktest professional?
suppose in the middle of the project QTP will not work properly, then what do u do? and ur team?
Explain the qtp test phases.
Is it possible to switch between recording modes during a test creation?
Can U Explain about QTP tool from older version to latest version also its differences?
Explain different checkpoints in qtp.
Hi Friends, Im planning to do certifcation in mercury Automation Tool QTP.But I Didnt get any clear details regarding course syllabus, fees, where to approach, and which certification would be useful for the experienced testers? can any one send me the details?