How to write test cases for web applications using QTP.plz
write a sample test case to show how to write.urgently
needed.thanks in advance..
Answers were Sorted based on User's Feedback
Answer / guest
We develop Test Scripts in QTP not Test Cases...
we use web addin to develop web application scripts in QTP.
TestCase: Testcase is nothing but an idea of test engineer.
by using the requirements document preparing the test cases
to cover all the requirements on application.
We can write testcases in QC and then we can convert them
into QTP Scripts. But, without QC we can't write testcases
directly into QTP.
QTP is an automation tool to develop tests for regression
testing and retesting. not to write testcases.
They'll ask you people to make confuse about question and
expecting correct answer.
Please go throw with both manual and automation concepts.
| Is This Answer Correct ? | 21 Yes | 4 No |
Answer / yedukondalu manam
systemutil.run""C:\Program Files\Internet Explorer\iexplore.exe"
| Is This Answer Correct ? | 5 Yes | 1 No |
Answer / thushar
Browser("micClass:=Browser").Page("micClass:=Page").WebEdit
("name:=property").action
This is a sample of how you can write a a test script for a
web application.
| Is This Answer Correct ? | 8 Yes | 23 No |
how to test background color and dynamic images during runtime
Hi all, Recently i faced this question in infosys What is QTP architecture?? Is Architecuture and Framework are same?? Can someone please give clear understanding of this.
Hi Everybody, Can anybody please tell me the how to display the result of the QTP in the notepad text file rather than in the QTP result window. Suppose this is my simple script:WHich will open the notepad file and enter some text and then will change the font then will calculate how much time has been taken.Now, in this script i want to display the result in notepad file. Dim s Dim starttimer,endtimer,timeit s="uyetuywqtywqte" SystemUtil.Run "notepad","","Y:\","" Window("Notepad").WinEditor("Edit").Type micCtrlDwn + "s" + micCtrlUp Window("Notepad").Dialog("Save As").WinEdit("File name:").Set "test1" Window("Notepad").Dialog("Save As").WinEdit("File name:").Type micReturn Window("Notepad_3").Type s Window("Notepad_3").WinEditor("Edit").Type micCtrlDwn + "s" + micCtrlUp starttimer=timer Window("Notepad_3").WinMenu("Menu").Select "Format;Font..." Window("Notepad_3").Dialog("Font").WinEdit ("Font:").Type "cou" + micDwn Window("Notepad_3").Dialog("Font").WinComboBox ("Font:").Select "Courier" Window("Notepad_3").Dialog("Font").WinEdit ("Font:").Set "Courier" Window("Notepad_3").Dialog("Font").WinEdit("Font:").Type micReturn endtimer=timer timeit=endtimer-starttimer print(timeit) Please also tell me where the function for the text file result will be declared and where it should be called. Thanks, Gaytri
Could anyone please tell me one situation where you have used recovery scenarion in real time with an example?
How you calling actions in qtp?
Tell me the situations where we will use Data Driven?
how to compare two bitmaps( 1. clients requirement & 2. Designed by dev) in qtp 8.2 wann clear steps
Suppose i have given 10 test cases all the test cases should be automated?
without Qtp features can we automated?
How to connect to data base?
How to invoke QTP using Dos prompt ?
How do we retrieve the content from a text box in a web page