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


in Qtp,how to display user name and pwd (script)in data
table(global sheet).

Answers were Sorted based on User's Feedback



in Qtp,how to display user name and pwd (script)in data table(global sheet)...

Answer / deepa

Datatable("name",dtglobalsheet)=
dialog("login").winEdit("Name").getRoproperty("text")

Datatable("password",dtglobalsheet)=
dialog("login").winEdit("password").getRoproperty("text")

Correct me if I am wrong

Is This Answer Correct ?    5 Yes 0 No

in Qtp,how to display user name and pwd (script)in data table(global sheet)...

Answer / akshara

i don't know it is correct are not but using output values
it is easy do like this.
Window("text:=Login").Activate
Window("text:=Login").WinEdit("Text:=Agent Name:").Output
CheckPoint("Agent Name:")'and select praperty as text
same for password you will get

Is This Answer Correct ?    0 Yes 1 No

Post New Answer

More QTP Interview Questions

In a WebTable 2nd row,3rd column contains one link and that link name is changing dynamically. How you will click the link?

1 Answers   Bank Of America,


What is the Obect Repository type, we use in Automated Testing..in Real time.. Pls anybody can give the answer.. Thanks in advance...

5 Answers   Navis,


In qtp, how you can remove the spaces from string?

0 Answers  


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

0 Answers   iFocus,


What is the registration process and examination fees?

0 Answers  


In an interview what r the questions asked in qtp related project? pls any answer this question?

3 Answers  


Hello Everybody, Please tell me the concept of recovery management in QTP by giving any practical example of it. Thanks, Gaytri

7 Answers  


Why you are Using Descriptive programming instead of Object Repository?

11 Answers  


Do you have any knowledge about Business Processing Testing in QTP

1 Answers   TCS,


Is it possible to change the extension of Shared object repository?

2 Answers  


Hi, I want to pass a value in to Link object. For ex: I have a link where in which contains the value like "DC4463219(Active)". Whenever i will execute the script this value "DC4463219 (Active)" will get changed. I got the value DC4463219(Active) from the link and stored that value in variable "ACTUAL". If i want to select the same link again, while recording the value DC4463219(Active) will be recorded in object repository. So, that it will not work for the next cycle of execution as the value will get changed everytime as i mentioned above. I want to pass that Acutal value in to link object. The script is as follows: Actual Script when recording: Browser("Web Login").Page("Application").Frame ("ScopeFrame").Link(DC4463219(Active)".Click But now instead of this DC4463219(Active) i want to pass a variable where i have the same value. I tried to execute the script Browser("Web Login").Page("Application").Frame ("ScopeFrame").Link(Actual).Click But it is displaying the error message as that the value which we got from Actual is not existing in Object repository. So,i made the link object as regular expression. Even it is displaying the same message as mentioned above. If you are not able to understand, feel free to contact me with nbabu11@gmail.com

1 Answers  


I wanted to create Data Driven test for login page (loginname,password). Password is same for all the loginnames. I recorded the script for one user. I mentioned all the user names in the global excel sheet with the column name as "Loginname". I mentioned 5 loginnames. I selected tools- >datadriver and select loginname. Select parameterize and select parameter all option.Changed the parameter name to "loginname" which i mentioned in the global excel sheet. I executed the script. For the users 2 and 4 only, the script is failing... can anybody explain why the script is failing for users 2 and 4.

2 Answers  


Categories