This is the script generated by qtp plz can anyone write
the same script using descriptive programming plzzzz guys
do answer.
Browser("orkut - login").Page("orkut - login").WebEdit
("Email").Set "rgovard"
Browser("orkut - login").Page("orkut - login").WebEdit
("Passwd").SetSecure "47525d8be4926ea2f6e96b9a3f7472b6ae38"
Browser("orkut - login").Page("orkut - login").WebButton
("Sign in").Click
Browser("orkut - login").Page("orkut - home").Link
("Logout").Click
Browser("orkut - login").Page("orkut - login").Sync
Browser("orkut - login").Close

Answer Posted / rajaputra

What Aiswaryan has given is correct.
But i will do a modification to the script.

systemutil.Run "IExplore.exe","www.orkut.com"
Browser("Title:=orkut - login").Page("Title:=orkut -
login").WebEdit("name:=Email").Set "rgovard"
Browser("Title:=orkut - login").Page("Title:=orkut -
login").WebEdit("name:=Passwd").SetSecure
"47525d8be4926ea2f6e96b9a3f7472b6ae38"
Browser("Title:=orkut - login").Page("Title:=orkut -
login").WebButton("name:=Sign in").Click
Browser("Title:=orkut - home").Link("name:=Logout").Click
Browser("Title:=orkut - login").Page("Title:=orkut -
login").Sync
Browser("Title:=orkut - login").Close

Now Run and See it will work.

Is This Answer Correct ?    2 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to do the scripting. Is there any inbuilt functions in qtp as in qtp-s.

631


What are benefits of qtp?

675


what is the diff b/w assistive and mandatary rules of object repository in QTP???

1748


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

1478


Define virtual object?

686






I hav installed QTP8.2, im working on webapplication, while running the script giving error msg like "QTPro.exe generated errors and will be closed by windows. You will restart the program. An error log is being created". Pls anybody what is the problem, what i have to do for this? Thanks...

1807


How many types of actions are there in quicktest professional (qtp)?

626


could any help me please, how to work on visual foxpro application using UFT

1863


Explain calling sub procedure.

713


In qtp, how you can use xpath to identify objects?

704


What environment does qtp run in?

701


What is the difference between local and shared object repository in qtp?

643


What is synchronization point in QTP?

764


What is the use of an object spy tool in qtp?

641


I want to open a Notepad window without recording a test and I do not want to use System utility Run command as well. How do I do this?

723