Hai can anybody give me an idea about writing automated
test cases in qtp using VB scprit.please respond as quicky
as possible.

Answers were Sorted based on User's Feedback



Hai can anybody give me an idea about writing automated test cases in qtp using VB scprit.please r..

Answer / sreedevi

Hi u can check...

http://www.w3schools.com/vbscript/default.asp for the
whole VB script. here you can find conditional statements,
loop statements and introduction to VB.

Regards..
Sreedevi.

Is This Answer Correct ?    0 Yes 1 No

Hai can anybody give me an idea about writing automated test cases in qtp using VB scprit.please r..

Answer / sireesha

For any of the script in qtp first check the
textboxes,table names,checkboxex,buttons.radio button etc
based on ta we need to create the script in the mean it
shud ended up wit dots,not actually sytanx of vb script but
jus an example is vbwindow("table name/applcation
name").vbedit("text/label name").set"the value we assign to
it"
eg: if for text of enterg a name
vbwindow("form1").vbedit("ename").set"xx";
if for button then instead of set we vbwindow
("form1").vbutton("clear").click

Is This Answer Correct ?    0 Yes 1 No

Post New Answer

More Test Cases Interview Questions

(questions asked in interview)hi every one can any one please answer to this questions.these questions were asked in an interview.i have another interview next week . 1.when the time schedule is tight how will you approch the testing,and the relese is nearing and we need to finish testing how can we follow in that case.do we need to exicute all the test cases or can priortise and leave some to next relase. 2. when a new feature is added to the existing application we need to add new test cases but after that do we need to change all the existing test cases and while running do we need to exicute entire application test cases or only the new feature test cases and related new feature test cases. 3.do you have any situation where you have to write and exicute the test cases same time, how will you follow.does it happens in real time. 4.example of bug which is not reproducible.like tester say that there is bug and developer say no can some example of such bugs. 5.during regression testing some times do we need to add new some additional test cases to test that bug.

3 Answers  


write the test cases for date month and year field by using testing techniques

19 Answers   Aryavrat Infotech, Blue Star,


What are semi-random test cases?

0 Answers  


write a test case for telephone billing ?

0 Answers   CTS, Infosys, TATA,


please can anybody tell me, how to indentify the test cases which can be automated from a given set of test cases, say 20.

2 Answers  






Given the following code, which is true about the minimum number of test cases required for full statement and branch coverage: Read P Read Q IF P+Q > 100 THEN Print “Large” ENDIF If P > 50 THEN Print “P Large” ENDIF how to find statement and branch coverage? Explain in brief?

0 Answers   ISTQB,


What is transaction testing?

0 Answers  


How many test cases can u write 1) File - open dialog box in notepad pleasse write

5 Answers  


What is the Difference between Testing Types and Testing Techniques

4 Answers   ISTQB,


hi iam working in HCL as a fresher n iam dg automation testing i am going to give client demo i did some 7 scripts i want to call all those in some new page in QTP I KNOW CALL THE EXISTING ACTION N COPY OF ACTION if we use any of these options while running it will show the whole script but is there any other method while running it should not show the whole script it will show only the calling lines plz give me detailed explanation to ds i need reply fast plzz

2 Answers   HCL,


How we apply Test case like integration testion on calculating result or for calculation GPA..... plz urgent need???:(

0 Answers  


my friend has done one project using .NET framework with C# coding and backend SQL Server 2005. In it, he has prepared and execute the test cases and stored that in the centralized database. in software testing, Do the testers do like this or use excel sheet to store the test cases? tell me .... i have so confuse.. pls anybody answer me as quickly as possible

1 Answers   Anthelio, ME,


Categories