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 / ashish wadhwa
Suppose the Browser name is "A" and the Page name is "B"
and say we have to pass any object whose name has been
changed. So, this object can be used as an argument in the
application along with the mandatory property "html tag".
Here as an example say the object name is "C". Note, this
object should be added in the object repository with its
name property as ".*" So, the function will be
Function clickItem(itemName,HTMLTag)
Browser("A").Page("B").WebElement("C").SetToProperty
("name"), itemName
Browser("A").Page("B").WebElement("C").SetToProperty("html
tag"), HTMLTag
Browser("A").Page("B").WebElement("C").Click
End Function
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
In qtp, explain what is crypt object
Hi Friends, Can anyone help me out in this one? In QTP, I am using Data Driver and want to parameterise multiple values (say 3 values ) for a field. How can I do it using Data Driver wizard? Plz mention it step-by-step. In the end after doing the needful, on opening the Data Driver window, how can I get number (i.e. 3) in the Parameterised column for that particualr value? Thanks a lot in advance.
write a script to verify links on any web page by using descriptive method by creating a description object (give a filter condition only link) ... need to verify expected like name by reading
QTP 10.0 is not identifying web objects for IE 8.it is identifying like winObject.I installed HP patch QTPWEB_00037.Still getting issue
How you can replace string in qtp?
How will you declare a variable in qtp?
Dis advantages of XML checkpoint ?
What are the different types of action?
I am getting the "test object property" Description properties "toolkit class" value By using "gettoproperty" in run time But my problem is how to get Ordinal Identyfier's type and value Type is index, value is 0 How can i keep this values in to required place How can i get these values in runtime I have to insert these "index" and "value" into another area Is there any script for this like "gettoproperties","Getroproperties" If anybody knows,please help me .
In Remote acess server how u run a test?
How you know that a test case is a regression test case
Dear Friends, I having total 3+year experience in manual testing including automation testing QTP, if i am attending any interview what kind of question will i get? please help me out
How will you handle java tree in qtp?
can any one please tell me which is the best institute in Bangalore to learn QA (crash course)? Thanks
what is the mail use of frame work(with detail). architecture for keyword driven frame work