Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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

Answers were Sorted based on User's Feedback



This is the script generated by qtp plz can anyone write the same script using descriptive program..

Answer / aiswaryan

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 "47525d8be4926ea2f6e96b9a3f7472b6
ae38"
Browser("Title:=orkut - login").Page("Title:=orkut -
login").WebButton("name:=Sign in").Click
Browser("Title:=orkut - login").Page("Title:=orkut -
home").Link("name:=Logout").Click
Browser("Title:=orkut - login").Page("Title:=orkut -
login").Sync
Browser("Title:=orkut - login").Close

you can get the setsecure value by using "password Encoder"
from QTP--> tools --> password encoder.

Is This Answer Correct ?    3 Yes 1 No

This is the script generated by qtp plz can anyone write the same script using descriptive program..

Answer / 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

This is the script generated by qtp plz can anyone write the same script using descriptive program..

Answer / arian10daddy

What does this script do anyways? plz explain...

Is This Answer Correct ?    1 Yes 0 No

This is the script generated by qtp plz can anyone write the same script using descriptive program..

Answer / sridhar

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

Is This Answer Correct ?    1 Yes 0 No

This is the script generated by qtp plz can anyone write the same script using descriptive program..

Answer / jason

They are opening up the broswer, and entering the URL :
Orkut.com.
they are clicking on the Home link and then the logout link.
after words closing it.

Is This Answer Correct ?    0 Yes 0 No

This is the script generated by qtp plz can anyone write the same script using descriptive program..

Answer / ramana vanteru

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 "47525d8be4926ea2f6e96b9a3f7472b6
ae38"
Browser("Title:=orkut - login").Page("Title:=orkut -
login").WebButton("name:=Sign in").Click
Browser("Title:=orkut - login").Page("Title:=orkut -
home").Link("name:=Logout").Click
Browser("Title:=orkut - login").Page("Title:=orkut -
login").Sync
Browser("Title:=orkut - login").Close

It should work.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More QTP Interview Questions

what r the drawbacks and limitations of QTP?

2 Answers   NIIT,


i have an external excel datasheet where it only contains 3 rows. after qtp executed the code to import the datasheet, the datatable getrowcount method now gives me a different value, lets say 60,000+ instead of only 3. i did not have any values starting from row 4 of my excel file. why is this happening? this also results to the qtp report to load for a very long time.

0 Answers  


What is the extension of script and object repository files in QTP?

9 Answers  


How to handle "Java Runtime error" popup window in the web application ? Sometimes the application throws the error repeatedly... Is there any browser setting available to disable the error ?

2 Answers   TCS,


If there r 1000 test scripts that were written. If a change to any functionality is to be made then how can we know in which script is this functionality existing.

4 Answers   iGate,


What is the use of Regular expression?

5 Answers  


How should I click on the right click menu objects When I trying to add the object properties to the OR.It is showing only Window(Window).Not all the objects of the window. Also while recording I found No script. How to solve this>.

1 Answers  


what are inputs for automation?

3 Answers  


Associated files in QTP?

1 Answers  


whenever U using QTP,Test Director, Why we using separate Bug tracking tool?

1 Answers  


what is test scheduling?

1 Answers  


what is L-trim function will do?

2 Answers  


Categories