somebody please say me why we go for using regular
expressions,actions.what is the main and exact use of this
in real time applications.real time testers pls answer my
question with example if u can

Answers were Sorted based on User's Feedback



somebody please say me why we go for using regular expressions,actions.what is the main and exact ..

Answer / sri

Regular expressions will be useful when you know the object
properties are dynamic and they change frequently.

For example in aweb page you know logical name of an object
changes ,like say CompanyStocks to CompanyMf

For the same you can specify as Company.* under Logical
Name.

Is This Answer Correct ?    2 Yes 0 No

somebody please say me why we go for using regular expressions,actions.what is the main and exact ..

Answer / sks

hello ,

When you run script for today's date(20/10/2009)and you
will get the result for that particular scnerio , when you
excute the same scipt next day (21/10/2009) you may get an
errror so inorder to handle this exception we go for
regular expression .

For the same you can specify as Datefield.*

Is This Answer Correct ?    1 Yes 0 No

somebody please say me why we go for using regular expressions,actions.what is the main and exact ..

Answer / shankar.majji

When an object in our application changes its state or
value then we can use Regular Expressions.

Is This Answer Correct ?    0 Yes 0 No

somebody please say me why we go for using regular expressions,actions.what is the main and exact ..

Answer / akshar jain

say the name of the browser is "create fill in the blanks" &
another browser name is "edit fill in the blanks",but the
objects are same in both the things so u can use one object
repository for both the pages by making it regular
expression like .*fill in.*

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More QTP Interview Questions

How to call a function in QTP?Is there any method ? Thanks , PRASANNA

2 Answers  


What are the types of object repositories? Which one is you are using?

0 Answers  


How to insert screenshot on to the body of outlook? -1 how to use insert-picture tab in new email outlook to insert image in the body. Suggest something.......

1 Answers  


Do we have to Enable Smart Identification while running Or will it automatically be enabled ?

2 Answers  


suppose i login into gmail page after that i read all the messages (say 10 messages) i have to send (SAVE) the messages in Html,notepad and i have to replay(Compose) send the messages please give me the code and give mail id so that i can clear my question

0 Answers  






How to use Environment parameterization? Explain with an example.

0 Answers  


How can i learn Descriptive programming in QTP. Please reply.

3 Answers  


what is the difference between image and bitmap check point

3 Answers  


Reverse a string keeping the words in the string as it is. E.G. "Quick Test Professional" O/P "Professional Test Quick"

1 Answers   Cap Gemini,


abt filter function if iam using below two statments its ok My = Array ("Apples","Oranges", "Apricots") MyResult = Filter(My, "Oran") if i use msgbox MyResult it shows type mismatch plz help me

2 Answers  


What is environment variable in qtp and why to use it?

0 Answers  


Hi all, In Every interview interview asking one question what type of challenges you have been faced in your project?

1 Answers  


Categories