I have some websites and their contact pages, how can I fill the contact form by using UiPath automation, I have an excel files of website URLs the issue is that some websites’ contact pages have 4 fields like (NAME, Email, Subject & Message), some have 5 fields ((NAME, Email, Contact No, Subject & Message) and some have 6 – 7 fields, so how I automate this process using UiPath Studio.
Welcome to uipath community
hope these steps would help you resolve this
–use excel application scope and pass the file as input
–inside the scope use a read range activity and get the output with a variable oftype datatable named dt
–now use a for each row activity and pass the above variable as input
–inside the loop use OPEN BROWSER activity and inthe URL mention as row(“yourcolumnname”).ToString so that it will type in the URL in browser
–now use a element exists activity or image exists activity to check how many fields are there and use IF conditiion with its boolean output and then perform based on the number of fields
kindly try this and let know ffor any queries or clarification
@Palaniyappan I have more than 30,000 websites , so how I put the field in if else condition?
@hasankhan - you will have to do automation of each website seperately.
yah that would work either but might take some time while executing
thats all, its not like it wont work, it would with its relevant time been taken