Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Was Rejected in Last Round. Why?
07-07-2008, 11:29 PM
Post: #1
Was Rejected in Last Round. Why?

Hi,
I cleared all the rounds in Microsoft but I was asked a question in QTP ie,
How to write regular expression for yahoo signup(Security code textbox). The security code changes everytime. So if it is containing digits(0-9),characters(A-Z,a-z). how do I write. I told
[0-9]{4,}[A-Z]{4,}[a-z]{4,}
But the Techical Lead showed me on his projector that it doesnt work. Why doesnt this work? Please give me the solution
sricharantester@gmail.com


Attached File(s)
.doc  Bug.doc (Size: 119 KB / Downloads: 33)
Find all posts by this user
Quote this message in a reply
07-07-2008, 11:43 PM
Post: #2
RE: Was Rejected in Last Round. Why?
If I got your question right...do you want to automate entering CAPTCHA's(security code) with the help of regular expressions?

QTP Articles | QTP Training | QTP Jobs
Find all posts by this user
Quote this message in a reply
07-08-2008, 12:53 PM
Post: #3
RE: Was Rejected in Last Round. Why?
Ankur Wrote:If I got your question right...do you want to automate entering CAPTCHA's(security code) with the help of regular expressions?

YES. I am using QTP 9.2. I also checked the Regular Expressions checker link which you have given but when I entered [0-9]{4,}[a-z]{4,}[A-Z]{4,} but it doesnt return "True". Please tell me what should I enter?
Find all posts by this user
Quote this message in a reply
07-08-2008, 02:50 PM
Post: #4
RE: Was Rejected in Last Round. Why?
Which Repository Parameter window should I select?
I mean should I select type, name or html tag?
where should I enter the value of Regular expression?
Please answer
sricharantester@gmail.com


Attached File(s)
.doc  Object Repository.doc (Size: 82.5 KB / Downloads: 25)
Find all posts by this user
Quote this message in a reply
07-08-2008, 03:01 PM
Post: #5
RE: Was Rejected in Last Round. Why?
I also have another doubt. When I enter the value in the name(In Description Properties), suddenly a pop up window opens asking if \ is required. What should I select "Yes" or "No"? Please see the attachment
thanks & regards,
sricharantester@gmail.com


Attached File(s)
.doc  Popup window.doc (Size: 87.5 KB / Downloads: 15)
Find all posts by this user
Quote this message in a reply
07-08-2008, 05:17 PM
Post: #6
RE: Was Rejected in Last Round. Why?
First of all understand that CAPTCHA are not designed to be automated. The basic reason why CAPTCHAs were introduced was to keep automated programs/bots/spammers at bay. So if someone asks you to automate CAPTCHAs your answer should be "No, it's not possible". We do have roundabout ways but that's a topic in itself.

>>YES. I am using QTP 9.2. I also checked the Regular Expressions checker link which you have given but when I entered [0-9]{4,}[a-z]{4,}[A-Z]{4,} but it doesnt return "True". Please tell me what should I enter?

What is the test string?

>>Which Repository Parameter window should I select?
I mean should I select type, name or html tag?
where should I enter the value of Regular expression?


A parameter which has a dynamic value.

>>I also have another doubt. When I enter the value in the name(In Description Properties), suddenly a pop up window opens asking if \ is required. What should I select "Yes" or "No"?

\ is an escape character. It is used when a character used in regular expression needs to be used literally.

I would suggest you to go through the post on reg expressions thoroughly and understand the concepts.

QTP Articles | QTP Training | QTP Jobs
Find all posts by this user
Quote this message in a reply
01-12-2012, 11:34 AM (This post was last modified: 01-12-2012 11:36 AM by Rajsreemad.)
Post: #7
unable to capture the second page
Hi Friends!!!!!!

i am capturing the objects in OR with Smart identification as "FALSE"

So i have two browsers and one page to both the browsers.

it means , first browser represents the first page and the second represents the pop up pages.


now my doubt is when i select the second page by opening the pop up
it is highllighting the second page.

without opening the pop up page if i highlight the second browser it is again highlighting the first browser.

After disabling the smart identification why i am getting this error

Please advice me and correct me if i am wrong
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)