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

They asked by using qtp recording writing scripting

2631


what type of automation is follwed in the project?

1962


Suppose I created one object as virtual object? That object is applicable to that test? Or all the tests?

1053


How to remove the associated function library?

1062


How to recognise the webelement and verifying that webelement is enabled?

2243


Can you list some technologies that support qtp?

1031


How you can write contexts to text file in qtp?

1150


can any one please tell me which is the best institute in Bangalore to learn QA (crash course)? Thanks

2135


In Remote acess server how u run a test?

1770


write a script for allinterview-submit Question first we've to select Choose Category,second select Sub- Category(Which is comes in to runtime)third select Question Type.for that give some descriptive and vb script

1850


What is the extension of QTP local Repository? If it is .mtr then what is .bdb extension stands for?

1206


can any one say that where we can download the QTP trail version ??????????

1804


how to fetch the values from grid? & qtp recogniges that grid as a webelement? what u do?

2470


Explain about business process component? types and usage?

2126


What are the Disadvantages of shared object repository?

1179