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 |
how does vb script help in web page designing? explain with example.
What is the event handling in vbscript?
Which operator is used for fetching the modulus of the 2 numbers in the vbscript language?
What is the difference between VBScript and JavaScript?
What is byref and byval parameters in vbscript?
a;;b;c;;;d in this string output is abcd will come how can we do that in vbscript in QTP testing?
can anyone send me a vb scripts code for clicking on a link and coming back on home page again does the same for many links on a web page.
Write a VB Script to count blank Lines in a notepad
Which in-built function related to an array joins substrings into one string in the vbscript language?
plz give ans to this in vb script........ "krishna radha" i want to print this string "Radha Krishna" like this
How will you check that a variable is an array in vbscript?
write a vbscript for traffic signal