GeekInterview.com
  I am new, Sign me up!
 
GeekInterview.com  >  Interview Questions  >  Testing Tools  >  QTP
Go To First  |  Previous Question  |  Next Question 
 QTP  |  Question 621 of 684    Print  
Regular Expressions in HTML Page Checkpoints in QTP version 9.2
Basically I am recording HTML source page checkpoints against a website. Having run my QTP script I go to my test results and drill down to the page checkpoint. It informs me that the "Two HTML sources are not the same". This is fair enough as there is inevitably going to be some dynamic data in the HTML source. When you click on 'Show Diff' it runs up the WDiff exe and you can see the exact lines and code in those lines that are different. OK, so now I make reference of those lines that are different and I go into my recorded HTML source and try putting in wild card regular expressions (.*) with the idea of matching anything with the aim of making my test checkpoint pass. I have tried varied regular expressions to match tags also (like ]*>(.*?))and made sure to assert the 'regular expression' checkbox in the 'Edit HTML Source', however upon re-run it always fails. It appears that the WDiff editor/comparison tool is treating all characters literally and not treating the special characters the way they should be treated. Does the WDiff Editor need to be configured to deal with regular expressions? Or is it that this is an issue in QTP, that it is not treating the HTML Source as a regular expression after asserting the 'regular expression' checkbox?


  
Total Answers and Comments: 0 Last Update: April 15, 2008     Asked by: Lourance1 
  
 Sponsored Links

 

No answers are posted for this question yet.
Be the first to answer it!


 Related Questions

Operates stand-alone, or integrated into Mercury Business Process Testing and Mercury Quality Center. Introduces next-generation “zero-configuration” Keyword Driven testing technology in QuickTest 
Latest Answer : Object spy is used in QTP for Descriptive Programming. to Identify the Object properties ...

Latest Answer : The object spy is very much useful while identifying the properties of objects while writing the descriptive program. ...

What are the properties you would use for identifying a browser & page when using descriptive programming ?

How to select particular value from the combo box in the current page which is entered in the previous page edit box after parameterization?
Read Answers (3) | Asked by : smitha

While validating 'Date format' . 
Latest Answer : In the sample "Flight" Appln, the fax order window has a title "Fax Order No: ". To identify this window we need to use Regular Expression ...
Read Answers (4) | Asked by : Bindu Puvvala

These are the new features which are available in QTP8.2 and which are not present in 6.5 version.Keyword View: Lets you easily build and maintain tests without writingVBScripts.Auto-Documentation: Provides 
Latest Answer : Really great help,Thanks ...
Read Answers (2) | Asked by : James

Hi all,I am facing one problem in my .net qtp application.In one page My script has to select order menu item from Add dropdown menu ex:Add->order.There is a bug in the page which opens up a pop up dialog box saying \
Read Answers (4) | Asked by : smitha

How can i write a script to automate the page which contains random questions with corresponding answers as radio buttons eg:questions1............a b c dquestion 2a b c d..............
Read Answers (1) | Asked by : srikanth

Give an example of a regular expression,user-defined function and built-in-function?how to make a user-defined function reusable?
Read Answers (2) | Asked by : Mann

1.Is there a debugging option in QTP while running the scripts? Where is it? 2.What kind of support is present for scripted components? 3.Can you store different versions of the script? Where can it be stored? If in the server does it require mapping to client? 4.Can QTP integrate with outside version control systems? 5.What are the installation prerequisites for QTP?
Read Answers (3) | Asked by : Arun


 Sponsored Links

 
Related Articles

SQA Software and Tools

SQA Software and Tools In quality assurance it is always important to get all the help we could get In other industries developers could easily check the products manually and discard those that do not meet the standard The length and the width of the product are checked to maintain standardization
 

Business Network Virtual Communication Tools

Business Network Virtual Communication Tools Since ages the Business community heavily relied on face to face communication for building Business relationships Face to face communications formed the basis for trust in a relationship An individual’ s appearance or the physical appearance of
 

What are Data Access Tools

Data access is the process of entering a database to store or retrieve data. Data Access Tools are end user oriented tools that allow users to build structured query language (SQL) queries by pointing and clicking on the list of table and fields in the data warehouse. Thorough computing history, t
 

Testing and Integration

Once the software is complete, it will go though rigorous testing before its actual integration.  In this article we will take a look at different types of software testing and also different types of integration. With the diversity of business setting and software development models, it al
 

The Interview Snafu

How to turn someone else’s mistake to your advantage Your dream job is about to become reality. A recruiter gave you the heads up about the perfect position at Humungous Conglomerate, Inc. You went through five interviews as well as a battery of psychological tests mandated by their HR de
 

SAP and Microsoft tools for Customer Service

World’s largest car dealer to use SAP and Microsoft tools for Customer Service Inchcape, the London-based largest car dealer in the world, is making itself much strong now by improving its customer services arising from major SAP and Microsoft implementations. The company has also vowed to
 

Winning a Job Interview with a Winning Resume

Does your resume unlock your potential, take your skills to the highest level and win you the interview and the job you want now? The job market today is highly competitive and even if you think you have what it takes to get an interview you won’t get over the line without a polished, prof
 

Career Assessment Tools

For those not sure what type of career they are interested in pursuing, career assessment tools can provide help. There are assessments available at career centers that are designed to help people figure out a good career option. They explore your personality, skills, interests, and values, and can
 

Advantages of Using SAP R/3 in comparison with other Similar Tools

ERP system takes a lead role because of some of the following reasons: Many large corporations use several different and separate information systems, often because they have merged with and/or acquired other companies with varied systems. An ERP system integrates these separate information systems
 

Advantages of Using VoiceXML In Comparison To Similar Tools

Another powerful advantage of VoiceXML is the ability for the system to re-use certain Internet structures. The vast majority of companies today use either one of two infrastructures, and these are the IVR infrastructure or the web based infrastructure. VoiceXML is powerful because it will allow
 

About Us -  Privacy Policy -  Terms and Conditions -  Contact -  Ask Question -  Propose Category -  Site Updates 

Copyright © 2005 - 2009 GeekInterview.com. All Rights Reserved

Page copy protected against web site content infringement by Copyscape