Suppose there are 100 links in a web page and the number of
links will be changing dynamically from time to time. I
need code such that every time i had to click on the last
link of the web page.
Answer Posted / kiran
set odesc = decription.create
odesc("micclass").value = "Link"
set n = browser("xxx").page("xxx").childobjects(odesc)
objcount = n.count
browser("xxxx").page("xxxx").link("index:="&objcount-1).click
Is This Answer Correct ? | 5 Yes | 1 No |
Post New Answer View All Answers
Hi All, we are using QTP Automation Scripts to test SAP. I recorded QTP Automation Scripts in English-based SAP GUI. Now we have to test a French-based SAP sytem and use the same scripts. The QTP scripts are failing when executed on the French-based SAP System due to Object Recognition Issues. What can we do? Do I re-record the scripts in the French-based SAP system?
How will you test a stapler?
Generic function to search for the unique link in webtable and click on it
The hybrid framework can be implemented for any application. Is it true?
Is there anyway to automatically update the Datasource name in Database Checkpoints object when we migrate tests to a new release?
Explain quicktest professional testing process?
Can U Explain about QTP tool from older version to latest version also its differences?
How do you compare the structure of 2 tables in database and check whether they are similar using qtp.
Why do you create a text checkpoint on a Web application? What is the purpose of the Close method?
how will you load the test cases in ddt?
In QA Testing when do you use Loadrunner vs QTP? What are the main differences between those two tools? Explain the purpose with real world scenario examples...In advance thank you!!!
Explain sub procedure of vbscript.
Please provide specific examples of advanced/creative usage of QTP, including how impact & benefits for your project
I want to do QTP Certification what is the pattern of Question paper.
Is QTP Supports SWT applications? If yes, can you write a sample script for opening a new package in eclipse.