Use element exist to check whether Save Final Quotation button exists or not and store the output of element exist in Boolean variable let’s say button_exist
Then use if condition with condition as button_exist
If the condition is true then in then section ,
Use click activity to click on Save Final Quotation button
If condition is false then in else section,
use get text activity to capture sum insured and vehicle type and then use click activitiy to click on submit button
Element exist solved my issue. But i need your advise on it.
this is the get text i got it from log file
"Refer message:Preview Quotation \r\n\r\nThis quotation will be referred due to the following underwriting guidelines. \r\nPlease click on Submit to get administrator’s approval.\r\n\r\n\r\n- Sum Insured\r\n- Vehicle Type\r\n\r\n\r\nRemarks to Insurer: \r\n\r\nSubmit Back \r\n\r\n\r\nNCD percentage has been reset to 0%, due to reason code: 077 \r\nPlease return to previous screen to make the appropriate changes.\r\n\r\n
=============
the expected result is “- Sum Insured\r\n- Vehicle Type”. thank you in advance.