@nadim.warsi I have having the exact same issue I have submitted the code almost 6 times.
I have made sure there are no spaces between the hash variables.
my acme and academy has same username and password.
all I get is .
UiPath Academy
Total Items: 18 Completed Items: 18 Correct Items: 0
I would say that the hash code is not correct. Can you check manually on sha1-online.com? You have the hash code updated by the robot in the Update window.
@Silviu - I am not sure but I dont think its an issue with the Hashcode. How are you uploading the assignment? I know for sure that everytime I uploaded the zip file it never worked. when I used the screencast I got 80/100 and 100/100 for the same code. Please try and do a screencast and see if that works for you.
Please give us more details regarding the items information and hash code you have for it. Because the problem is with the hash code, as it reports that you have 18 items and 18 completed, but 0 correct. So it means that the robot completes all items (18 completed), but the result is not good (hash code, 0 correct).
Also, the hash code verification is case sensitive, so pay attention to case as well, it should be lower case.
I don’t fully agree to it… because item completed in my case is 10 and I got full marks… if the bit is checking the code with 18 items then something is wrong. Let me check the code.
The numbers of work items and the actual work items are distinct for all users. Every time when you Reset Test Data, a random number of new work items are generated. So, in your case there were 10 work items of type WI5, Pema_Sherpa had 18 work items of type WI5.
The formula for hash code is: ClientID-ClientName-ClientCountry, I guess the values are HR70321, Clement Paulette and Romania, hence the formula should be “HR70321-Clement Paulette-Romania” which will hash to “f0d372ad76c7f7c5c284895da7feb3a422c25740”.
Probably you are using the method String.Replace(" ", “”) to remove empty space, but the empty space should be removed only if it is at the beginning or the end of the string. Please use String.Trim method for this.
Other improvements you should implement:
Use Simulate Type and Simulate Click input methods whenever possible. These are the best input methods and should be used if the target application supports them. Acme-test.com should respond fine to Simulate Type/Click.
Open and login to acme-test.com in the Init state, InitAllApplications.xaml, close it in CloseAllApplications.xaml which is invoked in End Process state.