Can any one send me the QTP Basic Coding Samples?


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More QTP Interview Questions

Test cases for Traffic Signals

4 Answers   AppLabs,


what is On Error Resume Next ?

4 Answers   Accenture,


Under what conditions would you recommend QTP for future projects?

1 Answers  


how do i know how to use tools

0 Answers  


we have 10 automation scripts. how to call them from one main script.

2 Answers  






Hi Friends this is kumar i would like to request to all of you ,please help me to explain real time project with using qtp scripts i know basics of qtp but it won't workout on interviews,pls help awating to reply.

0 Answers   SoftTech,


How can I deploye a 'QTP Runtime environment only'

1 Answers   Indexis,


Why you have to add the specific add in in QTP? My answer is to recognize the specific objects we have to add the add-in in QTP...but he asked again after adding addin how qtp recognize the objects successfully? what is there in the add-in ?

1 Answers   CTS,


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

0 Answers  


Write test cases for copy and past password in password field ?

0 Answers  


why don’t use real time they r not using check points

1 Answers   Wipro,


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

3 Answers  


Categories