![]() |
SelectCell in powerbuilder 10 and QTP 10 - Printable Version +- Micro Focus QTP (UFT) Forums (https://www.learnqtp.com/forums) +-- Forum: Micro Focus UFT (earlier known as QTP) (https://www.learnqtp.com/forums/Forum-Micro-Focus-UFT-earlier-known-as-QTP) +--- Forum: UFT / QTP Others (https://www.learnqtp.com/forums/Forum-UFT-QTP-Others) +--- Thread: SelectCell in powerbuilder 10 and QTP 10 (/Thread-SelectCell-in-powerbuilder-10-and-QTP-10) |
SelectCell in powerbuilder 10 and QTP 10 - guttustand - 10-07-2009 Hi Guys I recorded a PowerBuilder application which is supposed to place orders. I can select one among 7 products.while recording , I selected the second product from the 'product list' .While playing it works fine , Code: pbwindow(xx).pbwindow(xx).pbwindow(xx).pbwindow(productlist).SelectCell 2,"desc" but If I make the 2 as 1 in the expert view , it gives me a "general run error". But if I make the 2 as 3 in the expert view, it works fine, ie it selects the third product from the list. can anyone tell me why does it happens and what can be the solution RE: SelectCell in powerbuilder 10 and QTP 10 - basanth27 - 10-07-2009 What data does the first row hold on your PowerBuilder Window ? RE: SelectCell in powerbuilder 10 and QTP 10 - guttustand - 10-08-2009 It has the product number similar to the row 2 , 3 . It selects the first row, but it in turn throws the error and when I do a skip on the error message box , it moves to the next vbscript statement ( though it selected row 1) , where as it doesnt throws error when i select the row 2 or 3 . Why does it happens particluarly on selecting first row RE: SelectCell in powerbuilder 10 and QTP 10 - basanth27 - 10-08-2009 Help me out with the SCreenshot of the powerbuilder window with the first row, and the error message with details. |