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
hi i have completed my b.tech in cse stream. now i am working in an organisation in testing department. i want do sap course but i dnt know which module will boost my career can anyone suggest me which is good for my career
Is there anyway to automatically update the Datasource name in Database Checkpoints object when we migrate tests to a new release?
how interviews will be on QTP?
Do you know how to connect database? Can you tell me the procedures?
What is synchronization? What are the ways you can synchronize?
What is the use of defining a newobject in the object repository "Define New TestOject". How to use this further. If we define new testobject, how can it recognizes the objects properties of any application.
Hi could some one explan what is the use of the function Defination generator, And how to use the function defination generator.. Explan with the example..
Why is action split used by qtp?
how will you check how many members visited the website www.infosys.com?
Where can I find and view run-time data table?
How do you convert manual test cases to automated test cases?
How you are developing the script? Using record and play back or manual?
banking domain description for software tester for interview
what is meant by function library?Public and private functions in function library? if private functions are applicable for only for the particular test means then y we have to add those to function library?
Discuss the QTP Environment?