Hi,How to write regular expression for inbox(10) {here 10
is changing while playback}.tell me the pettern.

Answers were Sorted based on User's Feedback



Hi,How to write regular expression for inbox(10) {here 10 is changing while playback}.tell me the ..

Answer / uday kumar_anem

Browser("xyz").Page("abc").Link("text:=Inbox (.*)").Click

Is This Answer Correct ?    3 Yes 2 No

Hi,How to write regular expression for inbox(10) {here 10 is changing while playback}.tell me the ..

Answer / kalyan

Above all answers are correct But if we use DP no need to
depend on the Reg Exp. We can mention the unique property
of inbox (Link). Or we can use Index to identify the Link.

Any doubts mail me at

mskalyan.smile@gmail.com

Is This Answer Correct ?    1 Yes 0 No

Hi,How to write regular expression for inbox(10) {here 10 is changing while playback}.tell me the ..

Answer / raghavender

Inbox(.*

i think this will work fine

Is This Answer Correct ?    1 Yes 0 No

Hi,How to write regular expression for inbox(10) {here 10 is changing while playback}.tell me the ..

Answer / amarshukla123

Inbox (.*) will match any number of email either 10000000000
or 0 but the requirement here is that number of emails can
vary from 1 to 10 onlu not 11 not 0 just between 1 to 10
..now this will be a challenge somewhat ..try to post answer
now.

Is This Answer Correct ?    0 Yes 0 No

Hi,How to write regular expression for inbox(10) {here 10 is changing while playback}.tell me the ..

Answer / rangi

inbox(.*)

Is This Answer Correct ?    1 Yes 2 No

Hi,How to write regular expression for inbox(10) {here 10 is changing while playback}.tell me the ..

Answer / rao' prasad

inbox(.*)

This is working fine.

Is This Answer Correct ?    1 Yes 2 No

Post New Answer

More QTP Interview Questions

how can i add an action(external action) programmatically?

3 Answers   Ordain Solutions,


I am verifying the actual vs the input value to make sure that they been entered correctly. In the Global Sheet I have a column called Customer with the multiple names in each row and now I am trying to capture the value during runtime under the column name Customer_in_Apps. Somewhat it works but during runtime the values are being stored in each column vs each row i.e., Customer_in_Apps, Customer_in_Apps1. Automatically it add columns instead of rows. row=datatable.getsheet("Global").GetRowCount for x=1 to row datatable.getsheet("Global").SetCurrentRow(x) Window("Customer Desktop").Window("Customer Tracking (Privacy").WinObject("TreeView20WndClass").Click 92,244 runtimevalue = .VbTreeView("vbname:=AppServerTree").GetROProperty("Selectio n") Val1=Datatable.Value("Customer",dtGlobalSheet) Val2 = Datatable.GlobalSheet.AddParameter("Customer_in _Apps",runtimevalue) If (trim(Val2)=trim(Val1)) Then Reporter.ReportEvent micPass, "Customer validation successful", "Actual Value: " &Val1&vbcrlf& "Customer Value: " &_Val2 else Reporter.ReportEvent micFail, "Customer validation unsuccessful", "Actual Value: " &Val1&vbcrlf& "Customer Value: " &Val2 End If Next

3 Answers  


Hi Guys, My Application in Microsoft Dynamic Navision, is it compitibale with QTP? if yes then let me know...

0 Answers  


How to add synchronisation points in qtp?

0 Answers  


How the exception handling can be done using QTP

6 Answers  






How to open any application during Scripting?

3 Answers   Crea,


WHAT IS THE FRAMEWORK & ARCHITECTURE OF YOUR PROJECT

3 Answers   Wipro,


How we can add actions in the test using QTP?

2 Answers  


Local Obj Repository and SOR are editable know, y we have to edit those.. i mean in which situation we need to edit those and how to do..? pls help me..

2 Answers  


Could you please suggest a book to start with QTP and also a book for advanced concepts?

2 Answers  


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

0 Answers  


Whether qtp 9.0 supports Test director8.0

0 Answers   TCS,


Categories