how to do spell check in QTP?
reply please
Answers were Sorted based on User's Feedback
By using Test check points and Text area check points we
can perform GUI Testing or Text Testing
Is This Answer Correct ? | 4 Yes | 0 No |
Above scripts are good... but they given for validation of
text available with our's i.e., expected text....
If you don't have expected text... you have only QTP and
web application. what do u do?
Use Text Check point and Text area Check point then it
makes your script easy and QTP will take care of expected
and actual values here...
But These check points will reduces the efficiency of QTP.
so,
GUI Testing should be done manually always... don't use QTP.
if you have such validations for help content or any text
content to check the gramatically and spell?
Use MS word.. copy content from your application and paste
here in MS word... it will show you the spelling mistakes
and also the gramatical mistakes.
Is This Answer Correct ? | 4 Yes | 0 No |
Answer / neeraj chauhan
Hope this will help you..
Dim str
str="Don't have a Windows Live ID?"
If Browser("Sign In").Page("Sign In").WebElement("Don't have
a Windows Live").GetROProperty("innertext")= "Don't have a
Windows Live ID?" Then
msgbox "We are sucessfull"
End If
Is This Answer Correct ? | 3 Yes | 0 No |
Using strcomp function we can check the spelings of a string.
-----------CODE---------------------
Set browobj=createobject("internetexplorer.application")
browobj.visible=true
browobj.navigate"www.yahoomail.com"
wait(5)
Dim a,b
b="Signing up is easy."
a=Browser("name:=Yahoo! Mail: The best web-based
email!").Page("title:=Yahoo! Mail: The best web-based
email!").WebElement("innertext:=Signing up is
easy.").GetROProperty("innertext")
msgbox a
c=StrComp(a,b)
MsgBox c
If c<>0 Then
reporter.ReportEvent 1,"Stringcomparision","strings are not
equal"
else
reporter.ReportEvent 0,"Stringcomparision","strings are
equal"
End If
Any doubts....mail to-------mskalyan.smile@gmail.com
Is This Answer Correct ? | 2 Yes | 0 No |
Answer / rayudu
U r right!
But i want the script for that.
Is there any.
Is This Answer Correct ? | 1 Yes | 0 No |
Answer / kiran
if(Exp==Act)needs to be replaced by if(Exp=Act).
Correct me if i am wrong....
Thanks
Kiran
Is This Answer Correct ? | 2 Yes | 1 No |
Answer / venkat reddy
What Neeraj said is correct , but i willb try to give more
clear on this,
Dim str
Exp="Don't have a Windows Live ID?"
Act=Browser("Sign In").Page("Sign In").WebElement("Don't
have
a Windows Live").GetROProperty("innertext")= "Don't have a
Windows Live ID?"
if(Exp==Act) then
msgbox "We are sucessfull"
else
msgbox "We are not sucessfull"
End If
Byeeeeeee
correct me if i am wrong...
Is This Answer Correct ? | 1 Yes | 3 No |
In application which areas to be automated and what kind of situation will be take? using QTP? Plz give me the clear answer
0 Answers Tavant Technologies,
In QTP TEST DIRECTOR COMBINATION WHAT IS THE PURPOSE OF TEST DIRECTOR? In Somebody says to store test cases and design test cases.?ok fine , but In test director 5.0 , QTp not launching. what u do?
Can we directly start working with QTP without any knowledge on WinRunner? (After getting trsining on QTP)
Define virtual object?
I need Major Help with a Script I recorded in QTP 9.5. I am recording scripts for a Web-based application(s) I have all the URLs for each application in Excel spreadhsheet so that QTP can pull that particular application from the spreadsheet and run it. The problem is QTP isn't recognizing one particular URL so when I hit run in QTP to run this script it opens the internet Explorer but isn't open the URL I have in the Excel spreadsheet. I've retyped the URL and still QTP won't open this Particular one for some reason. The site its self is working fine but for whatever reason QTP won't open it. How do I resolve this? I have a deadline of next Friday the 7th to complete this task so please help me in any way you can. Thanks in advance
Please explain me in detail! How to handle runtime errors in QTP useing recovery senario or with out scenario
HOW TO DO THE BATCH TESTING USING QTP?
I am using "QTP 9.0" in my system, need to install java add-ins to test the java based applications, please prvide information from where i can get those java add-ins for QTP 9.0
What are the various automation frameworks available in qtp?
Hi, I got some difficulties in automating a web check box in a peoplesoft application. Let me explain the scenario, When clicked on a look up button in the application, it navigates to a new page with check boxes and respective options. Below is the source code for one check box and its option. <input type='checkbox' name='H1AU_BUNDLE_WRK_H1AU_SELECT_CH$2' id='H1AU_BUNDLE_WRK_H1AU_SELECT_CH$2' tabindex='34' value="Y" onclick="this.form.H1AU_BUNDLE_WRK_H1AU_SELECT_CH$chk$2.valu e=(this.checked?'Y':'N');submitAction_win0 (this.form,this.name);" /> </td> <td align='left' class='PSLEVEL1GRIDODDROW' > <span class='PSEDITBOX_DISPONLY' >$29 - $29 Cap with FREE Mobile</span> I want to parametrize using "$29 - $29 Cap with FREE Mobile". I am not aware of how to parametrize this. Currently I am parametrizing with 'H1AU_BUNDLE_WRK_H1AU_SELECT_CH$2' Can any one please help me out with this??/
For which type of project the iterative model is suitable?
is the institute MindQ laid by Mr.Nageswar rao.. heard alot about Nageswar rao...can you briefly let me know about the Nageswar rao inst. and MinQ...THANX IN ADVANCE