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

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?

0 Answers  


Can we directly start working with QTP without any knowledge on WinRunner? (After getting trsining on QTP)

1 Answers  


Define virtual object?

0 Answers  


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

0 Answers  






Please explain me in detail! How to handle runtime errors in QTP useing recovery senario or with out scenario

5 Answers   Quinnox,


HOW TO DO THE BATCH TESTING USING QTP?

2 Answers   Ordain Solutions,


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

0 Answers   Infosys,


What are the various automation frameworks available in qtp?

0 Answers  


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??/

0 Answers  


For which type of project the iterative model is suitable?

0 Answers  


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

44 Answers   InterGraph,


Categories