Hi, I am currently working on the Generate Yearly Report assignment.
The dispatcher navigates to the work items page, and then immediately logs out
How do i fix this? Dispatcher.zip (511.1 KB)
Hi, I am currently working on the Generate Yearly Report assignment.
The dispatcher navigates to the work items page, and then immediately logs out
How do i fix this? Dispatcher.zip (511.1 KB)
does it shows an error?
Doesn’t show any error. It just accesses the Work Items page, and then immediately logs out
“Process finished due to no more transaction data”
problem is inside the get transaction data workflow try to extract data using screen scrapping. try to do it as the first assignment it’ll be easy for you. login and extract data within the init state and get the data row array and send it to the get transaction data workflow. after that you can get one by one all the data row . in the process workflow check the conditions (whether its WI4 ) and add a queue item to the queue in the orchestrator.
in your case it directly goes to the end process because there are no transaction items. delete the get transaction item activity.
this is how it should look like i’ve highlighted the input argument (extracted data).
Sorry, how do I do this step by step?
@DEATHFISH remember how you did data scrapping in assignment 1(hash code), do the same steps inside the init. and the get transaction item workflow get one by one item .in the process workflow you can filter your data using if condition and add a queue item.
Here is my progress, what do I do now?
Dispatcher.zip (513.6 KB)
@DEATHFISH delete the close application workflow from the init and place it inside the end process. here i’ve attached the get transaction item workflow.go through it and try to implement your one.GetTransactionData.xaml (9.4 KB)
and inside the process.xaml check the condition using if statement and add a queue item
I am encountering the following errors now:
Click 'Button': Cannot find the UI element corresponding to this selector: <wnd app='iexplore.exe' cls='#32770' title='Message from webpage' /><wnd ctrlid='2' title='OK' />
Invoke System1_Login workflow: Cannot find the UI element corresponding to this selector: <wnd app='iexplore.exe' cls='#32770' title='Message from webpage' /><wnd ctrlid='2' title='OK' />
System error at initialization: Cannot find the UI element corresponding to this selector: <wnd app='iexplore.exe' cls='#32770' title='Message from webpage' /><wnd ctrlid='2' title='OK' /> at Source: Invoke System1_Login workflow: Click 'Button'
that means robot cant find out the the button indicate in on the screen again or else try to use uiexplorer and get the selector
the System1_Login workflow goes to the branch of Not LoginSuccessful login and tries to find the button even though the login is successful, not sure why
check whether you’ve assign false when the login is complete (by using element exist to check whether the dashboard text exits.). and if the element exist it must go to navigate to work item and click the work items button.
I have already done so by using Element Exists activity with selector:
<html title='ACME System 1*' />
<webctrl tag='H1' aaname='Dashboard ' />
and if the element exist it must go to navigate to work item and click the work items button.
How do I do this?
you can modify the same project that you have developed for the assignment 01.
I am using the exact same Element Exists activity from assignment 1, no idea why it does not work here
The exact same activities as in assignment 1 for the rest of Login workflow also
login.xaml (17.5 KB)
go through this,this might help you.
why is loginSuccessful = true hardcoded?
its assigning true if the dashboard element is exist if you want you can give that Boolean variable as the output of the element exist activity.
I’m not sure where is the difference between my login workflow and the one you uploaded
System1_Login.xaml (15.3 KB)