how to do spell check in QTP?
reply please

Answers were Sorted based on User's Feedback



how to do spell check in QTP? reply please..

Answer / baba fakruddin

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

how to do spell check in QTP? reply please..

Answer / baba fakruddin

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

how to do spell check in QTP? reply please..

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

how to do spell check in QTP? reply please..

Answer / kalyan

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

how to do spell check in QTP? reply please..

Answer / rayudu

U r right!
But i want the script for that.
Is there any.

Is This Answer Correct ?    1 Yes 0 No

how to do spell check in QTP? reply please..

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

how to do spell check in QTP? reply please..

Answer / deeptish

I can under-stand it will reduce the efficiency og
QTP ....But If there are a number of website.such 100000
website to be tested ...even the spelling only will QTP do
it effectively and how ?

Is This Answer Correct ?    0 Yes 0 No

how to do spell check in QTP? reply please..

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

Post New Answer

More QTP Interview Questions

what is the use of descriptive programming in QTP ? when we need to use DP? can we test the application completely with out useing DP?? please explan with example

2 Answers  


Could you please suggest a book to start with QTP and also a book for advanced concepts?

2 Answers  


Hi Friends, If you got one Bug , and you are insert that bug in bug tracking tool , and you need to attach SC's (screen shots) also. how to tae SC's , in your organization any separate tools available to take SC's. please provide Ans. its urgent... Thanx in advance

3 Answers  


1. What is the difference between Keyword and function in the keyword driven framework? 2. How do you associate Keywords to the script ?

0 Answers  


how to automate standalone infopath forms using QTP? (it is not a dotnet or a web form)

1 Answers   ABC,






how to get font size of a "WebEdit"

3 Answers   L&T,


Syntax for how to call one script from another? and Syntax to call one "Action" in another?

3 Answers  


Explain different types of action in qtp?

0 Answers  


Hi Friends, Can any one answer this question? 17) What method is used to retrieve the number of columns in the query results? A. Fields.Count B. Fields.Item(EOF) C. Fields.Count(BOF) D. Fields.Count.Value

2 Answers  


what is the extension for QTP files?

16 Answers   American Solutions,


what is the exact Diff. Between Test and Component in QTP?

1 Answers  


Hi experts. I want to create a framework for the Flight Reservation sample application.Can anybody tell me the files and the contents , and how to create them.Thanks

2 Answers   IBM,


Categories