The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 895 - File: showthread.php PHP 7.2.34 (Linux)
File Line Function
/showthread.php 895 errorHandler->error




Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Implementing If...Else on Web Page
#1
Greetings,

Kindly advise on how to use a if...else condition on checking for 2 web pages.
Depending on the previous web page, 1of the 2 web page comes through.
This is how I manage as of now:
Macro RO Sales gDN
Code:
Copy      Help
,int w3=wait(10 WC win("Question Time! - Windows Internet Explorer" "IEFrame"))
,Htm e50=htm("INPUT" "rbnTrue1" "" w3 "0" 3 0x121 3)
,err+
,,goto ncontinue
,e50.Click
,
,wait 0.25
,Htm e22=htm("INPUT" "btnSubmit" "" w3 "0" 5 0x121 3)
,e22.Click
,
,;ncontinue
,int w5=wait(100 WC win("select_product - Windows Internet Explorer" "IEFrame"))
,Htm e18=htm("INPUT" "btnNext" "" w5 "0" 15 0x121 3)
,e18.Click
Best Regards,
Philip


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)