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...

how can i parameterize a login page by using database
parameterization i fetch the username and password from
database and put this on login page and click on ok button.
so how can we write script for that code please let me know
asap

thanks

Answer Posted / shaveta

rc=datatable.GetSheet("Global").GetRowCount
For i=1 to  rc
datatable.GetSheet("Global").SetCurrentRow(i)
systemutil.Run"C:Program FilesHPQuickTest Professionalsamplesflightappflight4a.exe"
With dialog("Login")
.Activate
.WinEdit("AgentName:").Set(datatable.Value("UID","Global"))
.WinEdit("Password:").Set(datatable.Value("password","Global"))
.WinButton("OK").Click
End With
window("Flight Reservation").Close
Next

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

hi frinds i need help .i have 4 + yrs exp in testing and nearly 2 yrs exp in QTP and QC .currently iam working north fast 2 yrs iam looking for job in south is there any openings plz letme know my mail id is pbre1980@gmail.com

2072


How QA specialist can identify when programmatic descriptions are useful?

2500


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

1091


Define Error Pane of UFT?

1117


How many types of object repository in qtp?

1108


Is it possible to merge two object repository files in qtp?

1185


Where is the Bitmap checkpoint information stored?

2317


Hi All, How to Compare two strings character by character in QTP

1504


tell me abt a time when u had to go above &beyind the call of duty to get the job done

1940


how to write xml output check point bu useing descriptive programing .means without useing output check point

2133


I want to read XML file loaded in Quality center and compare the values with the values displayed in Application (web table).How can I do that

1882


How can I use Call dlls in QTP ?

2312


How to handle dynamic objects in quicktest professional?

947


What is data driver in qtp?

1025


can test automation improve test effectiveness?

1981