- dileepreddys
- Posts : 8
Join date : 2012-05-09
Recording problems...
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.
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.
Re: Recording problems...
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...
You can generate club name randomly to avoid validation...
- dileepreddys
- Posts : 8
Join date : 2012-05-09
Re: Recording problems...
Thu May 10, 2012 4:43 pm
thnq rohit...
I not get uuu...could u please explain clearly.
I not get uuu...could u please explain clearly.
- ccoxMaster
- Posts : 205
Join date : 2012-01-06
Age : 39
Location : Denver, CO
Re: Recording problems...
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
I'm confused as to what is going on with the image upload. Can you give us a little more information on that?
-Cameron
Re: Recording problems...
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.
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.
- dileepreddys
- Posts : 8
Join date : 2012-05-09
Re: Recording problems...
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...
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...
Re: Recording problems...
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..
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..
Permissions in this forum:
You cannot reply to topics in this forum