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
How does QTP identify an object?
If object is not recognized by qtp but the object is standard object what is your approach?
Hi frnds, does anybody know if there is anything called "thin point" or something in qtp? thanks in advance.
In Remote acess server how u run a test?
How to find Operating system information using QTP script?
How many types of parameters are there?
What are the Test design techniques you uses in ur project?
How to check bitmap output value?
in a web page hoe to check the dynamic links that rechabging with out using regular expressions
Whether qtp 9.0 supports Test director8.0
how can you do retesting (datadriven test) using notepad amd by using functions NOTE u should not use datatable methods
can any one say that where we can download the QTP trail version ??????????
what is run-time data?
What is the Difference between test object and run time object?
How qtp recognizes the object?