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 |
what is used of Property........End Property loop ? how to write the script for it?
* ** *** Please write a code to get output like above diagram? ple explain as it how the code works?
Explain the constants in vbscript?
Explain about arrays in vb script?
did any one attended interview in applabs if you had gone through plz tell me the procedure
how to write basic programs in VB Script like addition, multiplication?
print the array values in ascending order?
How to open excel in vb script?
What is the use of the formatdatetime function in the vbscript language?
what is the features of visual basic?
Why is it recommended to close the database connection every time after the work is completed?
what types of bugs will we find out in banking projects for automation testing?
0 Answers Napier Healthcare, TCS,