Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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

How to use the Object spy in QTP 8.0 version?

2 Answers  


if interviewer asked about the framework used for automation how we will handle the question..means what should be the answer..plz help..which framework u r used in our company?

1 Answers   iGate,


IS standard check point is very important than the other check points in QTP? If so why?

4 Answers  


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.

3 Answers   Infosys,


Write a QTP script to print all the link names displayed in a web page

4 Answers   TCS, Virtusa,


What are the most frequent errors you faced while executing your scripts?

1 Answers  


w is fragmentation and paging

1 Answers   MBT,


Hi guys, Our company has started to automate testing and started using the tool QTP.Iam new to QTP and I have the following questions to ask. Would appreciate if anyone could give me a hand on this and explain things in a detailed way. [1] Bugs outside checkpoints: I know that I can easily make the QTP do what I want inside the application. Also, I know that I can insert some checkpoints and that the qtp will notice if those conditions are not met. However, there are bugs and problems that might not be connected to a checkpoint (system crash, database error, losing session/logout etc.); how can I make sure that the QTP will notice such problems as well and flag a test as failed. [2] How to tell the QTP that when a particular statement is "false",it should flag it as, test failed and show in in the test report. In short how to tell the qtp that a test is false from the script so that it shows it in the report For Eg:- if(true) test passed // how to instruct qtp else test failed // how to instruct qtp [3] Test script portability: we are having several environments; If I record a test on User Interface, obviously, the qtp will save the URL; however, how can I make the qtp run the tests so that the url is provided dynamically. Is there a possibility to parameterize the web server.Is this the way to do it.I dont know? [4] Test management: How do I manage the tests? I guess we will be doing it in Quality Center, yet, it’s not perfectly clear to me how we will be doing that. [5] Running scheduled test sets: How do I group tests to a certain test set? How can I make this test set run at a predefined time? [6] Test maintenance: What do we need to do beforehand in order to enable for easy test maintenance, meaning small adjustments in tests? [7] Reports: What kind of reports on test results are available (either QTP or Quality Center)? Thanks in advance and hoping for an answer. Jen

0 Answers  


what is verification & validation?

2 Answers   Accenture, TCS,


how to do the batch testing in test director using manual testing procedure?

0 Answers  


what is main diff of qtp8.2 and qtp9.0?

1 Answers   Covansys,


How to identify the objects using descriptive programming when the object property values are same, i mean in a page 10 objects are there i want to click the 6th object but all the object property values are same? using descriptive programming

2 Answers   Genpact,


Categories