giangy55
(Gianfranco)
January 27, 2017, 8:50am
1
Hi all
I’m new here and I’m willing to learn with your help. I had my first little success with Automate Web Data Entry. CSV to WebApplication.
My current challange:
Within the CSV I have per each row different contacts with Title (Mr., Ms), Name, Lastname…
In the WebApplication the Title is a Dropdown. So if the contact is a Mr I should select Mr in the WebApplication and if it’s a Ms I shoud select Ms.
I tired to work with a the “IF” component, but had no success so far. I already recorded the flow for Mr and Ms.
How do I proceed?
Thanks a lot
Gianfranco
aksh1yadav
(AKSHAY YADAV)
January 27, 2017, 8:55am
2
Hey
You can use as a simple way… Use if activity and check the title.from csv and use select item activity and indicate on screen and manually select item Mr. And else similarly Mrs. Same approach.
Let me know, if you have doubts.
Regards…!!
Aksh
giangy55
(Gianfranco)
January 27, 2017, 9:02am
3
thank you aksh1yadav for your quick reply.
here the screenshot of my if component:
i think my condition is not correct… the rest is like you said, right?
dbe
(Desmond)
January 27, 2017, 9:24am
4
You did not enter a Condition…its empty.
giangy55
(Gianfranco)
January 27, 2017, 9:27am
5
i know… everything I tried is not working… so, what would you enter?
dbe
(Desmond)
January 27, 2017, 9:35am
6
You have to enter a condition that has to be evaluated. If x is true do this else do that.
For example titleVal = “Mr”
And in your example you are using Click - you should use Select like Aksh said.
giangy55
(Gianfranco)
January 27, 2017, 9:46am
7
“Anrede” is the Attribute in CSV in first row
“Herr” is the Value in CSV in second row
still an error…
aksh1yadav
(AKSHAY YADAV)
January 27, 2017, 10:03am
8
hi @giangy55
please find attached sample solution for guidence.
Sample.zip (6.5 KB)
Let me know, of you have any doubts regarding this.
Regards…!!
Akshay
1 Like
giangy55
(Gianfranco)
January 27, 2017, 10:36am
9
i got it now! i think the key-element which i was missing was “get row item” in order to save the variable.
thanks a lot!
giangy55
(Gianfranco)
January 27, 2017, 11:20am
10
Question: how would you proceed, if you have more than two values in the Dropdown? still with the IF-component?