how to write the descriptive programming in QTP for
loginwindow.without using Step generator,object repository
for referecnes

Answer Posted / kishorekumar.byreddy

Dim lg,an,pwd,ok
set lg=decription.create()
set an=decription.create()
set pwd=decription.create()
set ok=decription.create()
lg("text").value="LOGIN"
an("attached text").value="AGENT NAME:"
pwd("attached text").value="PASSWORD:"
ok("text").value="OK"
Dialog(lg).activate
Dialog(lg).winedit(an).set"kishore"
Dialog(lg).winedit(pwd).setsecure"mercury"
Dialog(lg).winbutton(ok).click


i think this is the perfect to login descriptive 2nd method
this is very importent, every company prefer to this method
in realtime also, so please carefull


any queries on this please send to this
mail "kishorekumarbyreddy@gmail.com"

and this my num: 09811244850

Is This Answer Correct ?    6 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to handle dynamic objects in quicktest professional (qtp)?

546


What is system testing and what are the different types of tests you perform in system testing?

601


How does qtp identify gui object?

586


What are the types of object repositories? Which one is you are using?

630


What is an expert view and keyword view?

570






How to find the length of the string in qtp?

578


Whether qtp 9.0 supports Test director8.0

2120


What is expert view and keyword view?

625


what are the mandatory properties for a tex boxc (scenario?)

1528


What are table and db checkpoints?

588


How are actions and functions different in QTP?

658


what the difference between shared repository and per action repository?

550


please any one can explain the keyword driven framework. with gmail example.

1629


How to export quicktest professional (qtp) results to an .xls file?

599


What is the latest version of qtp?

585