Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Condition if used to check set values in text box(simple one here)
#1
Solved: 10 Years, 9 Months, 3 Weeks ago Toungue 
Code:
window("Flight Reservation").Dialog("Open Order").Winedit("Edit").Set "swapna"

The above statement would set the text feild with swapna

Clarification:I want to check all the conditions in the like:
If the text box is null or if it has numerics ......then it should not aloow
i am using
1)for example:if i have to check text box is empty i used. I jus tried this.not working
Code:
if window("Flight Reservation").Dialog("Open Order").Winedit("Edit").Set ""="" then
statements........
end if

2) when i use the key word exsists
Code:
if window("Flight Reservation").Dialog("Open Order").exsits then
statements........
else
ststements
end if


Regards
Swapna
Reply


Messages In This Thread
Condition if used to check set values in text box(simple one here) - by swapna_2008 - 02-26-2008, 12:14 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  How can we get the Windows application Text box background color Using UFT 11.53 Kuppampattu 3 5,711 06-06-2017, 11:12 AM
Last Post: workrohit08
  Not able to set value in application web edit box tanuj dewangan 4 3,490 07-29-2016, 03:58 PM
Last Post: harshadevadas
  Need to verify the drop down values based on condition santhoshmscsoftware 1 2,725 05-04-2016, 11:28 PM
Last Post: supputuri
  Need to Validate Text filed is blank after clicking on the Text box balak89 3 4,557 09-13-2015, 12:06 AM
Last Post: ADITI1992
  Check Box Object Identification rakesh499 0 2,023 01-27-2015, 01:56 PM
Last Post: rakesh499

Forum Jump:


Users browsing this thread: 1 Guest(s)