how will you check how many members visited the website
www.infosys.com?
No Answer is Posted For this Question
Be the First to Post Answer
What are Error handling other than Recovery scenario manager?
What is qtp window?
Can any one explain about environment variables with examples?
How do u override the meaning of a standard object in QTP?
When we parameterise some field ex. Textbox is there any way that we can generate a specefic number of random values (For alphabetical values if possible) instead of manually entering values in the data table
What are the advantages of Automation objects than Test Objects?
How to Analyze the Checpoint results by Text/Text Area Checkpoint?
Is there any MS Access addin in QTP?
How to Get the Run-time value of an object under that web app under Test to the local data table sheet of that Action?
How to capture data from images in QTP and produce them in Excel sheet ?
How many types of recording modes in qtp?
Hi, I have a login page. To login in that page I need to have a valid username and password, which is stored in database. I imported that table to my DataTable in QTP (Global sheet). Now I need to write a code in qtp so that I can login only with valid username and data. my condition is : I want to get username and password from inputbox(which i did) and click on login button- which should verify the datatable for username and password and if value is present only then lofin else stop the testing. DataTable contains columns : LoginName and Password Code: Rowcount= DataTable.GetSheet("Global").GetRowCount msgbox "RowCount= " &RowCount,1 CurrentRow= DataTable.SetCurrentRow(1) Do Browser("").Page("").Frame("Frame").WebEdit("ctl10$ct l00$ctl00$UserName$ctl").Set DataTable("LoginName",1) Browser("").Page("").Frame("Frame").WebEdit("ctl10$ct l00$ctl00$Password$ctl").Set DataTable("Password",1) Browser("").Page("").Frame("Frame").Link("Login").Cli ck CurrentRow=CurrentRow+1 Loop Until CurrentRow>Rowcount Can anyone help? Thanks, Priya