GeekInterview.com
   Home |  Tech FAQ  |   Interview Questions |  Placement Papers |  Tech Articles |  Learn |  Freelance Projects |  Online Testing |  Geeks Talk |  Job Postings |  Knowledge Base | Site Search |  Add/Ask Question

GeekInterview.com  >  Interview Questions  >  Testing Tools  >  QTP
Go To First  |  Previous Question  |  Next Question 
 QTP  |  Question 666 of 677    Print  
How to use Regular Expression
i am opening the google page with scripting and now using regular expression i want to enter browser and page name of google to enter the search text and search.


  
Total Answers and Comments: 1 Last Update: September 16, 2008     Asked by: kaps_sachdeva 
  
 Sponsored Links

 
 Best Rated Answer

No best answer available. Please pick the good answer available or submit your answer.
September 16, 2008 02:28:44   #1  
Vishal Aggarwal Member Since: September 2008   Contribution: 1    

RE: How to use Regular Expression
browser("title:=.*Google.*").Page("title:=.*Google.*").webedit("Search").set "Test Search"



browser("title:=.*Google.*").Page("title:=.*Google.*").webbutton("Search").click

This is not something which will directly work by copy paste , but just to give you an idea of the concept.

 
Is this answer useful? Yes | No

 Related Questions

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

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

Latest Answer : It is used to identify "objects"& "textstrings"  with varying values ...
Read Answers (5) | Asked by : raj

In QTP, I have knowledge of Actions, Parametrization, Checkpoints, Output Values, Regular Expressions and Virtual Objects.What are the concepts that I have to study yet, to test any real time project?Can any one suggest me regarding to this?
Read Answers (5) | Asked by : asha

Latest Answer : 1. In the Object Repository File check for the Property of the WebPage2. In case that Property do have a varying text e.g. its URL & value is http:sitename1250pagename.htmlin the above case if 1250 is not a consistent string you have RE http:sitenamed(4)pagename.htmlon ...
Read Answers (1) | Asked by : babulu

For eg I have 'Window("Microsoft Excel - PivotTable67").Window("Query Refresh").Activate'.I need to get the string 'Microsoft Excel - PivotTable67'.Can anybody tell 
Latest Answer : Hi     If u wnat to try "GetROProperty" then try this output='Window("Microsoft Excel - PivotTable67").GetROProperty("Value")Variable "output " will return the window name.Other wise if u like ...
Read Answers (1) | Asked by : Divya

How to use regular expression in any subscription form when registered. script running successfully but it gives error on submission form- User already existing
Read Answers (2) | Asked by : dj

Latest Answer : you can write for example :something 1484894_& somethingThe regular expression would be :something W+ somethingHope it will help ...
Read Answers (1) | Asked by : sudeepth

Hi Every Body,Can any one help me on "How to identify special character thru regular expression in QTP for Java Based application"?Thanks in AdvanceSrini :) 
Latest Answer : You can use W for identifying special characters like !@#$% ^*  in VB script, Sushil ...
Read Answers (1) | Asked by : srini_dg

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 
View Question | Asked by : Lourance1


 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
 

Operator, Operand and Expression in C

Operator, Operand, and Expression in are symbols which take one or more operands or expressions and perform arithmetic or logical computations. Types of operators available in C are as follows: Arithmetic Assignment Logical/relational Bitwise These have operators under each
 

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
 





About Us  |   Privacy Policy  |   Terms and Conditions  |   Contact  |   Site Map  |   Add Question  |   Propose Category  |   RSS Feeds  |   Articles Sitemap  |   Site Updates  |   Add Resource

Copyright © 2005 - 2008 GeekInterview.com. All Rights Reserved
Page copy protected against web site content infringement by Copyscape