ALLInterview.com :: Home Page KalAajKal.com
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage  Contact Us     Login  |  Sign Up                      
info       Did you received any Funny E-Mails from your Friends and like to share with rest of our friends? Yeah!! you can post that stuff   HERE
Google
 
Categories  >>  Software  >>  Testing  >>  Automation Testing  >>  QTP
 
 


 

 
 WinRunner interview questions  WinRunner Interview Questions
 Load Runner interview questions  Load Runner Interview Questions
 QTP interview questions  QTP Interview Questions
 Test Director interview questions  Test Director Interview Questions
 Rational TestSuite interview questions  Rational TestSuite Interview Questions
 Silk Test interview questions  Silk Test Interview Questions
 Automation Testing AllOther interview questions  Automation Testing AllOther Interview Questions
Question
-->IF two TextBOxes are there in a "Form".
-->A table contains some records which contains usernames & 
password..
-->What is the script we need to write using Descriptive 
programming concept...in QTP (simply DATA DRIVEN TEST 
SCRIPT OF QTP)?
 Question Submitted By :: Eshwar
I also faced this Question!!     Rank Answer Posted By  
 
  Re: -->IF two TextBOxes are there in a "Form". -->A table contains some records which contains usernames & password.. -->What is the script we need to write using Descriptive programming concept...in QTP (simply DATA DRIVEN TEST SCRIPT OF QTP)?
Answer
# 1
Option Explicit 
dim uid,pwd
uid=datatable(1,1) ' consider user name is in 1st row 
1st 'column
pwd=datatable(2,1) ' consider password is in 2nd row 
ist 'column
browser("broswer name").page("page name").webedit("User 
name").set user name=uid
browser("broswer name").page("page name").webedit
("Passord").set secure password=pwd

' The entire script is may not correct. But the procedure 
is correct
 
Is This Answer Correct ?    0 Yes 1 No
Krishna Chand
 
  Re: -->IF two TextBOxes are there in a "Form". -->A table contains some records which contains usernames & password.. -->What is the script we need to write using Descriptive programming concept...in QTP (simply DATA DRIVEN TEST SCRIPT OF QTP)?
Answer
# 2
My Knowledge....

Browser("Name:=Browser namae").page("title:=page 
title").wededit("class:=name of the test").set 
datatable.value(1)
Browser("Name:=Browser namae").page("title:=page 
title").wededit("class:=name of the test").setsecure 
datatable.value(2)
 
Is This Answer Correct ?    3 Yes 0 No
Kumar
 
 
 
  Re: -->IF two TextBOxes are there in a "Form". -->A table contains some records which contains usernames & password.. -->What is the script we need to write using Descriptive programming concept...in QTP (simply DATA DRIVEN TEST SCRIPT OF QTP)?
Answer
# 3
Browser("Name:=Browser name").page("title:=page 
title").wededit("class:=name of the test").set 
datatable.value(dtGlobalsheet,username)
Browser("Name:=Browser namae").page("title:=page 
title").wededit("class:=name of the test").setsecure 
datatable.value(dtGlobalsheet,password)

100% correct, try this out.
 
Is This Answer Correct ?    1 Yes 0 No
Manish
 

 
 
 
Other QTP Interview Questions
 
  Question Asked @ Answers
 
I have a string "Redfort is in Delhi" how do u write vbscript for " Delhi in is Redfort"  2
DIFFERENCE BETWEEN WR 8.2 & QTP 8.2? HOW TO INTEGRATE WITH SOME OTHER TOOLS? CTS1
In QTP what is the difference between Step-in, Step-out, Step-over ? CTS3
I have a WebEdit Object.It is added in object repository.It has two properties Name and Index.In the next release the Name Property is same but the index property is changed.when i run the script will the script Pass or Fail ADP6
how can we write descriptive programming for menus when qtp is not able to identify it..and how can we write descriptive programming for partially identified and non standard objects..do i have to map the objects before writing the script  1
How to retrive XML file data in QTP ? using Script(Chandana) Wipro5
i am entering wrong data or wrong password in a text box and click on submit button .i am getting a popup window with a message Please enter the correct password or data .How can i handle this situation by using QTP. SAP-Labs8
What are Error handling other than Recovery scenario manager?  2
Explain in brief about the QTP Automation Object Model.  1
How to handle Recovery scenario in QTP. give detailed explanation about recovery scenario.  1
setroproperty and getroproperty difference Ordain-Solutions3
How to call script1 into script2?  3
How will you handle the situation when object is not captured during record?  2
Hi, Any one have the crack for QTP 10.0,if so could you please send it to phanijuly10@gmail.com  1
Explain the check points in QTP?  2
waht is puirpose of accesbility Check point? waht is the use of Page and XML check points?  1
Hello Everybody, Can anyone tell me that in QTP how to count the number of webelements from the object repository. Please provide the code. Thanks in advance, Gaytri  2
What are the file extensions for per-action, shared object repository files and what is the extension for library files?  4
how i can get the value of label box , please any body tell me script of that code  1
Explain the concept of object repository & how QTP recognises objects?  1
 
For more QTP Interview Questions Click Here 
 
 
 
 
 
   
Copyright Policy  |  Terms of Service  |  Help  |  Site Map 1  |  Articles  |  Site Map  |   Site Map  |  Contact Us interview questions urls   External Links 
   
Copyright © 2007  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  Forum9.com   ::  KalAajKal.com