Hi Sankar, through GetROProperty you can get the entire string but to get the required text from the string you have to go for either of the String operations like Mid or Split etc.
Hope it answers your query. Cheers Biswajit On Mon, Jun 7, 2010 at 11:45 AM, s sankar <[email protected]> wrote: > Hi Amit, > > Thanks, is there any other way like GetRoProperty("text"). > > Thanks > sankar > > On Sun, Jun 6, 2010 at 10:59 PM, amit rathi <[email protected]> wrote: >> >> Hi >> for this we can take this complete string in a variable and than split >> that string to take this value. >> >> On Sun, Jun 6, 2010 at 7:07 PM, s sankar <[email protected]> wrote: >>> >>> Hi, >>> >>> In the sample application shipped with QTP , how to select flight number >>> alone from the winList. >>> eg :Window("Flight Reservation").Dialog("Flights >>> Table").WinList("From").Activate "15802 DEN 10:24 AM FRA 01:54 PM >>> AF $173.47" >>> i need to get 15802 alone. >>> >>> Thanks >>> sankar >>> >>> >>> -- >>> 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 >> >> -- >> 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 > > -- > 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 -- 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
