It seems Interview questions from Ordain Solutions are
almost BASIC LEVEL-Easy.
I am asking one tough question..(I think.. May be easy for
some people)
In recorded script the - WebLink("cityinfo")
In reality, the WebLink name is "generalinfo"
How you can write function to click that changed web link.
NOTE: This functin should work with any Dynamic text link.
I will post the answer later.

Answer Posted / naren

1. First get the Name of the weblink using getROProperty
during run time and store the value into a variable.
2. Compare the weblink name with the value stored in the
variable using IF condition
3. If true pass the variable value to weblink using
setToProperty and click the weblink

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the features supported by UFT?

673


Hi frnds, does anybody know if there is anything called "thin point" or something in qtp? thanks in advance.

1572


How did you use regular expressions in QTP and also in WR?

2167


Plz Explain How to access Or Store Script from VSS? Explain Real time work (qtp) where you store folders and next to how to you access that folders and how you maintain folders in VSS ? What are the Menu's in VSS? Suppose in Manual, by using Checkin Checkout u can access documents. how you access in QTp REal time?

1581


To which environments does quicktest professional (qtp) supports?

593






Hi frens! I am testing VB project with MS Access database. At add button click my record is storing in data table and it is shown in datagrid. So at Delete button click i want to check datagrid rows 9before and after delete). so how can i do it using descriptive programming?

1476


i am a begnner so am learning Error handling :tried using Recovery manager didnt work i want to be able to handle errors , e.g. if while running the test the folwoing does not show up then how can i use the If then else and goto next step in the test, as in many scenarios it does not show up Browser("The Shopping Channel -").Page("The Shopping Channel -_8").Image("easy pay").Click

1471


How the smart identification is used in real time?Please explain with an example

1551


what is impact analysis on regression testing?

2050


how to explain a claims and insurance project?

1753


Explain types of output values?

571


How to test background color and dynamic images during run time can you put the check point for moving objects?

1451


How to indentify MS-Word objects like Menubar, Toolbar, table/columns/rows/cells etc within Word document, using QTP?

1812


What is the extension of qtp local repository?

577


i have an external excel datasheet where it only contains 3 rows. after qtp executed the code to import the datasheet, the datatable getrowcount method now gives me a different value, lets say 60,000+ instead of only 3. i did not have any values starting from row 4 of my excel file. why is this happening? this also results to the qtp report to load for a very long time.

1540