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 are the rules to name variable in vbscript?
Hi, Anybody could tell me What is the script for Reverse of Given number. Ex:236--632. Thanks in Advance..
write a vb script to display apple that is 1st a should be displayed then ap then app then appl then apple
How to make professional test report using vbscript code in UFT, which gives us complete analysis of the test.
0 Answers College School Exams Tests,
How to return a value from function...? you should not tell msgbox, print.. etc.,
What is vbscript language used for and which earlier language is it modeled upon?
Hi, Anybody could tell me What is the 3rd Largest Number in the series..Thanks in Advance..
how to set one column as primary key in QTP and fetch values accordingly
What are the data types supported by vbscript?
Mention what is the main difference between function and sub-procedure?
write a vb script to display ***** ***** ***** ***** *****
What are lbound and ubound in the vbscript language?