how to write scripts in QTP?
Answers were Sorted based on User's Feedback
Answer / malathi
Using methods in object spy we can write scripts.
using step generator we can write scripts.
| Is This Answer Correct ? | 8 Yes | 2 No |
Answer / tripti arya
Scripts in QTP can be generated through recording or through
descriptive programming.Use object spy for descriptive
programming.
| Is This Answer Correct ? | 1 Yes | 1 No |
HI This is Chakravarthy.
If u know "C" language it is very easy to write VB Script.
and u have to know how can we use Scripting in QTP.
for ex. we wil use if conditions,nested if,for loops,while
loop,variable diclarations,functions,......etc in QTP.
all this topics come under "C" Language.
If u have any Queries contact me at
mskalyan.smile@gmail.com
| Is This Answer Correct ? | 1 Yes | 2 No |
Answer / somalatha
first of all, by recording, scripts can be automatically
generated. other ways include through editing scripts,
using step generator, capturing through text check points
and through descriptive programming
| Is This Answer Correct ? | 1 Yes | 6 No |
Hi , I am new to VBscripting, My requirment is to write a vbscript to read a row (which has coloumns like Description, Code, date(DD/MM/YY), hours etc) and export these feilds to a Website and then click on Submit Automatically on that web page. This it should do for all the Rows in that excel file. Any help is much appriciated Thanks Shalini
How many test scenarios you have automated? How many time it will take to execute 30-40 scenarios? What SDLC model you are following? How often you will execute your test scripts? Because of some changes, your test scripts failed? When you will update your test scripts? How much time it will take to update? Do you know how to connect database? Do you know the direct method to count no. of records (or) rows present in record set once query is executed? How will you create the connection string? How did you resolve conflicts present in Object Repository? How good you are in VB? How will you work on Excel Application? How will you select Excel sheet? If you want to select 10 sheets, will you create 10 separate objects? Given string is “abcd”. What are the methods you will use to display “dcba”? Drives script – explain the frameworks? How you are updating results for each test? What is start up, configuration, navigation scripts? If you are not able to understand the application (some module), who will teach you? What test cases to be automated? When to be automated? What is the testing process you are following? What life cycle you are following? When you will use Descriptive Programming? Do you have the permission to add objects into shared object repository? (OR) someone will maintain SOR? Do you know how to add objects into shared object repository? How many test cases you have automated? How much time will it take to execute? What is complex in automation? When you feel automation is complex? Tell me one scenario, the complex functionality you have automated in your project? Excel sheet having some datas and some datas present in the application (in table). How will you compare these two datas? Write code to fetch datas from Excel sheet. Rate yourself in SQL? Display the employee name who is getting maximum salary? sal ID Salary name 001 100 002 500 003 300 ID 001 002 003 Ename A B C Have you written any test cases while you are in Automation? Manual Testing also will you do or you will work only in automation?
What are advantages of test automation?
How to creating an output value using quicktest professional?
How you calling actions in qtp?
what is the Descriptive Progarmming? how it is help to testers in QTP?
Explain the concept of object repository and how qtp recognises objects?
What is Object Spy?
a title of first page is "LKO- microsoft internet explorer", of the second page is "PPM- microsoft internet explorer" , of Third page is "TTS- microsoft internet explorer" and same changing title on the fourth page. How can we use regular expression for this feature what should we do on script part on and Object repository part so that we can get successful run result. Kindly explain the steps script.
Hi, I am new to QTP and vb.script.How to start to write vb.script in QTP? Please give me suggestions?
How does QTP identifies the object in the application
give one example where you have used regular expression?