Posts: 10
Threads: 4
Joined: Jan 2008
Reputation:
0
02-07-2008, 11:48 AM
Thanks in Advance!!
would any one help me in answering or guideing me to this question
how to write a vb script code with QTP to click on the only unread E-mails from gmail or yahoo.
Posts: 1,105
Threads: 18
Joined: Jan 2008
Reputation:
8
02-08-2008, 09:45 AM
Again, it would be better if you can come up with the issue you are facing while scripting/recording/running.
We do not encourage giving full solutions as such. The expectation is that user should try to come up with his/her own solution after getting a hint for approaching the problem.
Posts: 10
Threads: 4
Joined: Jan 2008
Reputation:
0
02-08-2008, 10:25 AM
[quote=Ankur]
Again, it would be better if you can come up with the issue you are facing while scripting/recording/running.
We do not encourage giving full solutions as such. The expectation is that user should try to come up with his/her own solution after getting a hint for approaching the problem
Hi Ankur,
Iam not looking for a solution but looking for approach !
how do u write a script or approach to click on only unread mails in gmail.. If you record clicking on unread mails and play it back the Qtp will not recognise the unread mails again so how do u make QTP understand that
Posts: 1,105
Threads: 18
Joined: Jan 2008
Reputation:
8
02-08-2008, 10:32 AM
ok...new question sounds better.
The reason why qtp doesnt recognize, if you replay back the recorded script is because the no of emails get changed everytime right?
You can use regular expression on those (changing) numbers.
Posts: 10
Threads: 4
Joined: Jan 2008
Reputation:
0
02-08-2008, 11:58 AM
tnxs Ankur,
Let me try it out!!!
Posts: 10
Threads: 4
Joined: Jan 2008
Reputation:
0
02-08-2008, 04:31 PM
Ankur!
I think these regular expressions are used for check points...but there is a different logic invloved i guess to click onto this unread gmails.i think its not so easy as u r thinking?
did u try it any time anything of this sort.
If yes plz do guide me!!!..........
Posts: 10
Threads: 4
Joined: Jan 2008
Reputation:
0
02-08-2008, 04:35 PM
sorry for the typo!
if u click onto the unread Emails in the Gmail or yahoo....
Posts: 1,105
Threads: 18
Joined: Jan 2008
Reputation:
8
02-08-2008, 04:36 PM
2nd Hint: Take a look at regular expression forum and read all threads in it, probably you can find a way to reach your answer.
Posts: 4
Threads: 2
Joined: Sep 2012
Reputation:
0
09-26-2012, 01:37 PM
im getting "General run error"
[attachment=1135][attachment=1135]