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

Answer Posted / grsmrc2118@yahoo.com

hi you can write it by taking assistance from objectspy and
looking at methods and properties
dialog("text:=login).activate
dialog("text:=login).winedit("attachedtext:=agent
name:").set "mayur"
dialog("text:=login).winedit
("attachedtext:=password").setsecure "*********************"
dialog("text:=login").winbutton("text:=OK").click

but the better answer in interviews is explain that it is
hard to remember all the methods so by taking assistance
from object spy we are going to write
regards
naidu

Is This Answer Correct ?    4 Yes 9 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to create a standard checkpoint ?

734


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

850


what function you write to do database testing with the help of qtp?

1572


What is Associate Repository in QTP 9.2 ?

786


What is keyword view?

779


i have to login into gmail loginpage i have to pass testcase into userid and password by using functions. the test case of user id is it should take only lowerletters alphabetin between 4 to 6 length.it should not take spectial letters.it should not take numbers.testcase for password is it should take numbers and it should not take alphabets note the following things must happen 1 when i give correct password and userid that password and userid should be seen in QTP result and notepad,xl sheet 2 when i gave in valid password the system willgive message please give valid password that particular messaage should be seen in QTP result,norepa and xl sheet

1972


Hi friends I need to know about jubula automation tool. Is anybody know in bangalore where jubula tanning class is going on do let me know. Its urgent for me to learn that tool please help.

3102


How can you write the scripts that operate on different objects depending on run-time information?

2329


How are cgi programs, applets, javascripts, ActiveX components, etc. to be maintained, tracked, controlled, and tested?

904


Hi All , How can we decicde for pariticular frame(DataDriven or Keword Driven)in Project? Thanks Balaji

1578


Hi all Can u give me the link where we can download full version of qtp my mail id is karthic.venkitapathi@gmail.com

1572


How you can make an action as re-usable action?

867


How you can decide which type of object repository you have to use?

904


How to do the scripting. Are there any inbuilt functions in QTP? What is the difference between them? How to handle script issues?

800


how to test Web application using QTP software

1519