Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Default value in Edit Box when Check Box is checked
#2
Not Solved
Hi,

You can handle this in your code along with your test data.

If you want to consider the default value then either you can pass the "" value and handle that in script.

Code:
If strValue = "" or lcase(strValue) = "default" Then 'Default value
  msgbox "Considered Default Value".
Else
  Browser("BR").Page("Pg").webedit("webEdit").Set strValue
EndIf

Let me know if you need any further info.
Thanks,
SUpputuri
Reply


Messages In This Thread
RE: Default value in Edit Box when Check Box is checked - by supputuri - 10-05-2011, 07:07 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Check if the checkbox is checked or not? pjavvaru 5 16,959 11-28-2024, 03:54 PM
Last Post: Demon31
  How can we get the Windows application Text box background color Using UFT 11.53 Kuppampattu 3 6,886 06-06-2017, 11:12 AM
Last Post: workrohit08
  Not able to set value in application web edit box tanuj dewangan 4 4,563 07-29-2016, 03:58 PM
Last Post: harshadevadas
  Need to Validate Text filed is blank after clicking on the Text box balak89 3 5,865 09-13-2015, 12:06 AM
Last Post: ADITI1992
  Default state of new action aparajita 1 2,796 08-25-2015, 12:11 AM
Last Post: aparajita

Forum Jump:


Users browsing this thread: 1 Guest(s)