Search
 
 

Display results as :
 


Rechercher Advanced Search

Latest topics
» FlexMonkium Download Not available under Gorillalogic site
Thu Dec 08, 2016 5:40 pm by bhanu.praveen

» Selenium Script issue
Tue Dec 06, 2016 9:48 pm by njain213

» Difference between QTP, Selenium and Silk test
Tue Dec 06, 2016 7:58 pm by jessicacyrus1

» Where does selenium script pick browser from
Tue Dec 06, 2016 1:52 pm by janbaskt

» Safari throws an HTTP ERROR: 404
Tue Dec 06, 2016 1:51 pm by janbaskt

» Access Denied Error in Selenium RC
Tue Dec 06, 2016 1:51 pm by janbaskt

» Automating Flex application through selenium webdriver
Fri Dec 02, 2016 2:06 pm by abhinay.krs

» Starting with Selenium, what is Selenium?
Mon Nov 28, 2016 4:00 pm by Foma

» Getting started with Selenium
Mon Nov 28, 2016 3:23 pm by Rebbelx

Navigation
 Portal
 Index
 Memberlist
 Profile
 FAQ
 Search

Recording problems...

View previous topic View next topic Go down

Recording problems...

Post by dileepreddys on Thu May 10, 2012 1:53 pm

Hi there,
when the time of recording...i added the club name, description and uploaded image.

when the time of run, it showing : [error] There was an unexpected Alert! [Club Name already exist, please change the Name and try again.]

how i have to change the name of club manually and it is not uploading image also, it's talking default image.

could anyone please help me out

Thanks&Regards.

dileepreddys

Posts : 8
Join date : 2012-05-09

Back to top Go down

Re: Recording problems...

Post by rohit13 on Thu May 10, 2012 4:34 pm

You need to change club name..it is firing validation for already exist club name..
You can generate club name randomly to avoid validation...

_________________
Radical QA
http://radical-qa.blogspot.in/

rohit13
Master
Master

Posts : 180
Join date : 2012-03-29
Age : 30
Location : INDIA

http://radical-qa.blogspot.in/

Back to top Go down

Re: Recording problems...

Post by dileepreddys on Thu May 10, 2012 4:43 pm

thnq rohit...

I not get uuu...could u please explain clearly.


dileepreddys

Posts : 8
Join date : 2012-05-09

Back to top Go down

Re: Recording problems...

Post by ccox on Thu May 10, 2012 9:04 pm

When you create these scripts, they will run static data in your application. If you run the script over and over, the same data will be input. For your application(and many others), more than one record of the same name cannot be inserted. Your club name already exists. What rohit is saying is you need to create either a function of some sort or functionality within your scripts to randomly create a club name. This will create a unique club name, thus eliminating the validation errors.

I'm confused as to what is going on with the image upload. Can you give us a little more information on that?

-Cameron

ccox
Master
Master

Posts : 205
Join date : 2012-01-06
Age : 31
Location : Denver, CO

Back to top Go down

Re: Recording problems...

Post by rohit13 on Fri May 11, 2012 12:09 pm

When you try to create new record with alary entered club name it is firing validation..that ccox explained you in detail.

To generate random club name you can use
store | javascript{"joe+" + Math.floor(Math.random()*11)} | variable

then pass this variable as club name in your script.

It will resolve already exists club name validation.

_________________
Radical QA
http://radical-qa.blogspot.in/

rohit13
Master
Master

Posts : 180
Join date : 2012-03-29
Age : 30
Location : INDIA

http://radical-qa.blogspot.in/

Back to top Go down

Re: Recording problems...

Post by dileepreddys on Fri May 11, 2012 4:02 pm

thnx very much cameron & rohit...

when i'm running the script, the new club is creating but image is not uploading, taking default image.,
if i want to upload new image for every new club, is there any command for that? could u plz give me any idea.

cheers...

dileepreddys

Posts : 8
Join date : 2012-05-09

Back to top Go down

Re: Recording problems...

Post by rohit13 on Fri May 11, 2012 4:05 pm

are you passing path of image??
If yes, just make array for different images n then just pass it in loop.
For every iteration it will take next value for image..

_________________
Radical QA
http://radical-qa.blogspot.in/

rohit13
Master
Master

Posts : 180
Join date : 2012-03-29
Age : 30
Location : INDIA

http://radical-qa.blogspot.in/

Back to top Go down

Re: Recording problems...

Post by Sponsored content Today at 3:23 am


Sponsored content


Back to top Go down

View previous topic View next topic Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum