Consider there are objects in a webapp which are identified by QTP. Suppose you know only the logical name of a object(absolutely nothing else about it). Which approach will you take to find the "micClass" of the object(You can't use Object Spy, or can't add the object in repository)?
Answers were Sorted based on User's Feedback
Answer / lok nath
actually we ll use the descriptive programing because we know the logical name of the object so. suppose i am having web button and i know logical name then what we ll do.
set odsec = description .create
odsec.Add "micclass","WebButton"
Set str name=Browser("tittle:=*"). page("tittle:=*").childobject(odsec).GetRoProperty(name)
print str name
Is This Answer Correct ? | 0 Yes | 1 No |
If without using object repository and object spy for identify the object then first i will record the test script(application)
Is This Answer Correct ? | 0 Yes | 2 No |
Explain the constants in vbscript?
how to find the textfile in the folder and copy file from one folder to another folder useing parameterigation in QTP
Write program for identifyig duplicates in flight Departing from and Arriving in mercury tours(web application).
What is wrong with the following code: <%afname="header.asp"%><!?#include file ="<%=afname%>"?>
How can I write HTML text to the window in VB Script?
Give me sm ideas to write Vbscripts abt protocol testing abilash700@gmail.com.
What is parametrization ?
Which operator can be used to do an xor operation in vbscript?
accept an email id & validate it .email id should not exceed 25 characters the mail id should contain 3 characters excluding domain name,@ and .(dot) the last 3 characters of the domain should be net,com or org
Hello All, In QTP 9.2 for Mozilla Firefox, there is webelement in my application, I tried to click on that using decsriptive programming, but it does not work. and for this i tried this code too: Set obj = CreateObject ("Mercury.DeviceReplay") absx = Browser("").Page("").WebElement(".").GetROProperty ("abs_x") absy = Browser("").Page("").WebElement(".").GetROProperty ("abs_y") obj.MouseMove absx, absy obj.MouseClick absx, absy, 0 But it is not clicked. Can anyone help me out for this problem. Thnx in Advance
HOw we can apply web service checkpoint in QTP 9.5? I tried it out with net connection also. But not getting success.
Hi, Anybody could tell me What is the script for Reverse of Given number. Ex:236--632. Thanks in Advance..