Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Oracle Form - Regular Expression
#1
Not Solved
Hi,

Can anybody tell me how to use Regular Expression for "Oracle Forms' please.

Quote:OracleFormWindow("Sales Order").OracleTabbedRegion("Line Items").OracleTextField("Ordered Item").Enter

OracleFormWindow("Sales Order").SelectMenu "File->New"
(After this step QTP will focus on Second line in Oracle form)
{Though it focus on second line, it is switching back to first line and entering data in first line itself thereby overwriting on existing data}

Quote:OracleFormWindow("Sales Order").OracleTabbedRegion("Line Items").OracleTextField("Ordered Item_2").Enter

Above I pasted sample code.

After every single line of code, I will parametrize data through global sheet. Problem am facing is that; after first iteration is completed, the values should be entered in new line but QTP rewrites the value on the first line itself.

I tried using regular expression through OR (Object repository) by entering different combinations such as .* and \n and \w and [a-z,A-z,0-9]. But it didn't help.

So pls tell me how to make QTP to enter values in new lines in Oracle Form.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Need Any digit in xpath path using Regular expression Priyam 1 3,484 10-05-2016, 11:05 AM
Last Post: Ankur
  Regular expression to read two words in lowercase, uppercase and with and without spa sarahq49 1 3,351 04-09-2015, 01:56 AM
Last Post: sarahq49
  Regular expression and script optimisation Padmavathy 1 3,817 03-30-2015, 11:46 AM
Last Post: supputuri
  Regular expression in descriptive programming testernc 1 16,564 12-08-2014, 06:38 PM
Last Post: anshika.agarwal
  need a regular expression. anu05446 0 3,114 11-26-2014, 03:00 PM
Last Post: anu05446

Forum Jump:


Users browsing this thread: 1 Guest(s)