If-Else startup failed error

issues
if-else

#1

while working with if else condition its throwing startup failed error .


#2

Could you post the screenshot of the If-Else action?


#3

@ashapkina mettodaydate coping from macro and pasting to that variable but while checking its showing startup error.


#4

Check what value is saved in met_todaydate in the execution-result.log.csv.


#5

@ashapkina proposal_met_todaydate -->STRING–> "TRUE
"


#6

Please share your recording with a sample macro file - we’ll try to reproduce this issues from our side.


#7

comparingdate (2).zip (2.1 KB)

@ashapkina in sample recording is working fine but in main code is throwing this kind of error .


#8

@lakshmipriya_a there is no sample data file in the archive so I cannot test it.
Try saving the value to a Boolean variable instead of a String and condition to equals. If it does work please share a file from which you copy the data - perhaps some characters are copied that the bot cannot process.


#9

@lakshmipriya_a it is also possible that there is a bug in the action on our side.
If you don’t want to share a file with data on the forum, please send it in a direct message, and we will test it.

Thank you.


#10

@ashapkina for Boolean variable its throwing an error when its coping from clipboard comparingdate.zip (1.9 KB)


#11

@lakshmipriya_a the issue can be caused by some characters in the string, it is not clear yet. Please share a sample data file on which we’ll be able to reproduce and solve the issue.


#13

@lakshmipriya_a weirdly, it works correctly from my side. Perhaps, we can find more information in the log. Could you play the recording again to get this error and then send us log rpa-node0-2018-12-06 from this folder: C:\RPAExpress\RPA\logs ?
Thank you.


#14

@ashapkina Now its going inside if condition ,after that am giving mouse click by text action of element .But element shows 2 results i.e I am taking element value from from Ids table . In this scenario I cant take xpath also because I am doing filtering of ids before selecting id from “I column” in excel so xpath solution wont work. Kindly give me solution for this


#15

What do you mean by “element shows 2 results”? What is the value of the element variable at this point?
Please also share the code of the element on the web page on which you need to click.


#16

element is “ID : 12345687” it will be in string type ,so I am giving mouse click by text “ID : 12345687” ,In my working page its showing error because we have 2 results


#17