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 / supratik
We can write a funtion to get the value of all the links
run time. compare with the one needed and click on it
Set linka= description.Create()
linka("micclass").value="link"
set b=browser().Page().ChildObjects(linka)
z=te.count
For i = 1 to z-1
If b(0).getroproperty("name")="LINK NEEDED" then
b(0).click
end if
Next
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
1.How do u prepare the test suits in QC? 2.How do u convert requirements to test plan in QC?
Is there anyway to automatically update the Datasource name in Database Checkpoints object when we migrate tests to a new release?
hi i want license key for qtp 9.2 pls its adjust product name : quick test professional locking code :8 - 54A6A license type : seat license maintenance number : 88888888-8888 pls send license key to my email id borusu.ramkumar@gmail.com
Can anyone pls tell me in realtime (descriptive programming) how will the properties of the object be given to the test team. R they given in an excel sheet and is the same sheet also given to the development team and by whom is this given? Thanks a lot.
What is Distributed testing? How does UFT support it?
Hi, is it possible for recording shortcut key during record session? The application on which I am working is web based application. This application has several shortcut key associated with menu option. I have succesfully recorded all menu option but unable to record shortcut key.
Can any one tell me.......How the test engg's start testing in the compy environment.....real time tester PLSSSS help me i need in depth information regarding this...
what is the structure for the data driven framework
how can i call function (which has link with excell sheet at a remote location) within another function
WAT IS DATA BASE AND XML CHECK POINT ?HOW TO IMPLEMENT IT ... GIVE PROPER EXAMPLE FOR IT
Explain quicktest professional (qtp) testing process?
Explain actions in qtp ?
Explain how you can delete excel file in qtp?
What are the different properties of an web object
If there is a change in the object type eg: A button is changed as link, 1. How to edit that in the shared object repository. 2.What options are available to edit the object within shared object repository other than copy from loca; 3.What would be the effect of the change in Coded Scripts within QTP and Functions stored in .vbs file which are loaded and used in QTP