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 |
I have to pass all the test cases into gmail userid and password using functions please give me code thanks have anice and greate day
If there is a change in the object type eg: A button is changed as link, 1. How to edit that in the shared object repository. 2.What options are available to edit the object within shared object repository other than copy from loca; 3.What would be the effect of the change in Coded Scripts within QTP and Functions stored in .vbs file which are loaded and used in QTP
I AM NEW IN QTP,PLZ TELL ME ANY BOOKS FOR QTP, MY COMPANY IS QTP,SO I LEARN QTP,PLZ ANYBUDY HELP ME
What are the differences between table and db checkpoints?
How can we translate the steps between the Keyword and Expert Views?
Can QTP be used for GUI testing ?, We are using Java with MySQL and Operating system is Linux. We are NOT using the web.
How to get data from excel sheet to the script? write the script.
In QTP, Which are the concepts are needed to do Functional testing and Regression testing?
can i login a page by giving username and password and click on ok button through database parameterization.and if its yes then please write the code of that
I want to do Certification course in QTP. For this I request you to suggest the best Tutorial in PDF format. Hence, if possible, kinldy mail PDF file to my mail-ID: sushmapokhriyal79@gmail.com
Hi Friends, Would be great if you can provide the Model Question paper, Web site link or any reference s. Thanks & Regards, Byzoor,
When u ll use Record Button in QTP?Is VB script is Mandatory in QTP? What is Meaning of Frame("v1")?