Hey, have u tried using Getfieldtype method. what it is returning...
Let me know,,, Regards Ashok.N On 4/10/12, Prasad Bandaru <[email protected]> wrote: > Hi, > > I am working with Oracle forms... > In a table region there are so many Edit boxes are there and im not able to > identify those Fields. > > Can anyone help me plz.... > > If i Record, the code is like this: > 'Oracle Button > OracleFormWindow("PO Number").OracleButton("Cancel").Click > > OracleFormWindow("Invoices").OracleTable("INV_SUM_FOLDER").OpenDialog > 1,"Type" > OracleListOfValues("Invoice Types").Select "PO Default" > OracleFormWindow("PO Number").OracleTextField("PO Number").Enter "20797" > > 'Oracle text fields > OracleFormWindow("Invoices").OracleTable("INV_SUM_FOLDER").EnterField > 1,"Invoice Num","TESTI" > OracleFormWindow("Invoices").OracleTable("INV_SUM_FOLDER").EnterField > 1,"Invoice Amount","100" > OracleFormWindow("Invoices").OracleTable("INV_SUM_FOLDER").EnterField > 1,"Tax Amount","10" > 'Oracle Buttons > OracleFormWindow("Invoices").OracleButton("Match").Click > OracleFormWindow("Find Purchase Orders for").OracleButton("Find").Click > > 'Oracle text Fieds > OracleFormWindow("Match to Purchase > Orders").OracleTable("SHIPMENT_MATCH").EnterField 1,"Match",true > OracleFormWindow("Match to Purchase > Orders").OracleTable("SHIPMENT_MATCH").EnterField 1,"Qty Invoiced","90" > > But when i Run it its not working. > > What i need is instead of "EnterField", it has to b read as > "OracleTextField". > > Please help me.. > > -- > You received this message because you are subscribed to the Google > "QTP - HP Quick Test Professional - Automated Software Testing" > group. > To post to this group, send email to [email protected] > To unsubscribe from this group, send email to > [email protected] > For more options, visit this group at > http://groups.google.com/group/MercuryQTP?hl=en > -- Cheers, Ashok Kumar.N +91 9972628339 -- You received this message because you are subscribed to the Google "QTP - HP Quick Test Professional - Automated Software Testing" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/MercuryQTP?hl=en
