Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Regular Expressions for SAP objects and "id" property
#1
Not Solved
Hello.
I have a problem with "id" SAP objects property while Descriptive Programming.

I have SAPGuiEdit object which have following properities.
Code:
name=VBAK-AUART
id=/app/con[0]/ses[0]/wnd[0]/usr/ctxtVBAK-AUART
I want to setFocus on this field
When I use regular expression in name property like this

Code:
sapguisession("Session").SAPGuiWindow("Create Sales Order: Initial").SAPGuiEdit("name:=.*-AUART").SetFocus
It is working fine
But when I want to use it in id property f.e

Code:
sapguisession("Session").SAPGuiWindow("Create Sales Order: Initial").SAPGuiEdit("id:=.*ctxtVBAK-AUART").SetFocus

I get:
Cannot identify the object "SAPGuiEdit" (of class SAPGuiEdit). Verify that this object's properties match an object currently displayed in your application.

How can I use RegExp in id property for SAP objects??
Reply


Messages In This Thread
Regular Expressions for SAP objects and "id" property - by bajer - 02-05-2010, 03:42 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
At Regular Expressions for e-mail address ganesh.dengale 6 18,563 08-23-2022, 02:51 PM
Last Post: ahmad3029
  How to disable regular expressions in a text? ttralor 6 6,210 07-05-2013, 02:44 PM
Last Post: Staff
  Need help on using regular expressions on Java Window's title qa_tester 3 4,837 02-13-2012, 10:56 PM
Last Post: madsenfr
  java window titles & regular expressions jotdog2 1 4,049 02-13-2012, 10:55 PM
Last Post: madsenfr
  Process to use Regular Expressions in QTP using screen shots. yvslraotesting@gmail.com 1 3,328 01-31-2012, 12:45 PM
Last Post: basanth27

Forum Jump:


Users browsing this thread: 1 Guest(s)