Hi..friends can anybody write the script for this question...
Am having some 20 nos of links in a web application, i want
to click some 5,13 & 17th links. So please....can anybody
give the answer....???
-->Hani<--
Answer Posted / srikanth
Set obj = Description.Create()
obj("micclass").value = "Link"
Set x=
Browser("micclass:=Browser").Page("micclass:=Page").ChildObjects(obj)
msgbox x.count
for i=0 to x.count-1
if x(i)= 5 OR 13 OR 17 Then
x(i).Click
end if
Next
| Is This Answer Correct ? | 0 Yes | 1 No |
Post New Answer View All Answers
how can you do retesting (datadriven test) using notepad amd by using functions NOTE u should not use datatable methods
I hav installed QTP8.2, im working on webapplication, while running the script giving error msg like "QTPro.exe generated errors and will be closed by windows. You will restart the program. An error log is being created". Pls anybody what is the problem, what i have to do for this? Thanks...
How do Parameterization and Data-Driving relate to each other in QTP?
can i change the runtime properties of an object ? How can i check if a parameter exists in database ?
How do you test DLL files using automation Tool QTP?
How to test background color and dynamic images during run time can you put the check point for moving objects?
What are the different ways to invoke an application using QTP?
Which is the best QTP training institute in Delhi/NCR region and what is the approximate fee for QTP course (Basics and Advanced)
Mention the different actions types of qtp.
How to creating an output value using quicktest professional?
Explain actions in qtp ?
What Folder Structure following in Keyword Driven Frame work?
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?
There are 10 rows in the datatable. How can we fetch 2 rows and then skip 3rd row. After that, pick 4th & 5th row and skip 6th row. Please share code
How to upload excel files into Quality Center using QTP Script and how to delete excel files from Quality?