Advance Assignment 1

Update work Item workflow:

1)Facing problem while selecting Id=NewStatus


image.png1920x1080 286 KB

Required selector is:


image.jpg1100x354 79.5 KB

2)And is it mandatory to check ‘simulateClick’ in click activity at the time of click Update Work Item?

3)What to write in Type Into

  1. Use attach browser and then the click , and then try to see if the idx is added.

  2. No, but read the below:
    It is the best method to interact with applications that are not visible or in foreground. This acts more like a developer programmatically changing the state of a control, making it 100% accurate if the control reacts to it. This method doesn’t work in all cases as there are technologies we cannot automate natively, by taking advantage of their underlying technology. This option can be set for Click activity.

  3. I believe the type into is nothing but the SHA1 has-code that you fetched.

Update work Item workflow:

1)Facing problem while selecting Id=NewStatus, Used Activity is ‘Select Item’

Not added shows error.


image.png1920x1080 286 KB

Required selector is:


image.jpg1100x354 79.5 KB

  1. yes right but as per pdf didn’t asked to invoked SHA1Online_GetHashCode . Means we have to invoke it for hashCode??
  1. Can you paste the below in the selector? [please make sure u redeit the quote ’ ]
    <html htmlwindowname='WI-Update' title='ACME System 1 - Work Items' />
    <webctrl id='newStatus' tag='SELECT' />

Then pass the Wokitem_status to it.

  1. Invoke and get hashcode will come together once you have the process in place and you connect the arguments. Now you are just developing it it parts.
1 Like

I have the same problem but when I open the selector window I have this below, so I don’t have “comment”… to add the hash code and new status. so when I submit I have 7/100.
I try diferent option, unsuccessfully, if you can help me.

Try with Internet explorer.

Try attaching browser using more robust selector:
I tried it using IE browser with following selector:
“”

For ‘New Status’ drop down list:
use select item activity with following selector:
“”

and pass newStatus (String) argument as a value. It helped to resolve issue in my code. Hope works for you.

Alternatively use:

selector manually for drop down list and set value of Item attribute to “Completed”.
Should work fine.

Cheers,
Chetan