Still not clear on what is the automation task. From your original
questions:

1.Under one tab ,provide a button name "ApplyGSP"
> 2.click on "ApplyGSP" button should open a form ,which required below
> input from the user.
>
>    *a)*model_no* b)*model_name *c)*os_version *d)*requested_time *e)*user 
> *f)from_sas_url
> g) to_sas_url etc.*
>
> *3.*once the user submitted the FORM with all the fields from step2, your
> app should open a browser with the user specified URL from f)*from_sas_url
> field* in step2.
> 4.Perform few click operations using selenium webdriver.
>
   5.copy the list of records from f) to g)

These indicate that you want to perform a particular task using selenium.

What is the other task you are trying to run simultaneously for which you
want to run the selenium job using celery.delay()?

My full understanding is:

   - You will develop a Django application that meets the above requirements
   - That Django application will certainly be in running state (only then
   you will be able to perform visual automation on it)
   - You will then run a selenium job on the above running Django
   application.
   - Here, your Django app is running on a different process and you are
   triggering selenium job separately.
   - If on the other hand, the only reason you want to run a Django app is
   to do the selenium task and then shutdown the Django app altogether, you
   can put the whole thing in a single bash script which essentially:
      - Starts your Django application using gunicorn or direct call to
      runserver or whichever way you want it to run
      - Checks that the Django application is up and running
      - Triggers the Selenium flow
      - If selenium flow returns exit 0 - gets out and shuts down the
      Django application

Is the above correct expectation correct?

--
Regards
Deep L Sukhwani

ᐧ

On Tue, 1 Oct 2019 at 23:08, Dilipkumar Noone <n.dil...@gmail.com> wrote:

> Hi,
>
> If i use selenium webdriver regular way in my django app, will it not
> cause time consuming to perform the automation task on chrome webdriver ?
> So to save the time , can i launch browser and perform automation task
> using celery delay() method.
>
> Regards,
> N.Dilip Kumar.
>
> On Tuesday, October 1, 2019 at 4:13:51 AM UTC+5:30, Deep Sukhwani wrote:
>>
>> What exactly do you want to use celery for?
>>
>> Using selenium webdriver the regular way should suffice here.
>> Regarding copying from one field and pasting into another, you might be
>> able to work with .get_text() method in selenium to read text from one
>> field, store it in a variable and then .send_keys() to write that text into
>> another field.
>>
>> *Note: This is a good question for selenium community and you should
>> consider posting it there or on Stack overflow with selenium webdriver tag*
>>
>> On Mon, Sep 30, 2019, 21:29 Dilipkumar Noone <n.d...@gmail.com> wrote:
>>
>>>
>>>
>>> On Monday, September 30, 2019 at 9:22:16 PM UTC+5:30, Dilipkumar Noone
>>> wrote:
>>>>
>>>> I am new to Django.
>>>>
>>>> I  have a requirement to develop a django application with the
>>>> requirement as stated below:
>>>>
>>>> 1.Under one tab ,provide a button name "ApplyGSP"
>>>> 2.click on "ApplyGSP" button should open a form ,which required below
>>>> input from the user.
>>>>
>>>>    *a)*model_no* b)*model_name *c)*os_version *d)*requested_time *e)*user
>>>> *f)from_sas_url g) to_sas_url etc.*
>>>>
>>>> *3.*once the user submitted the FORM with all the fields from step2,
>>>> your app should open a browser with the user specified URL from 
>>>> f)*from_sas_url
>>>> field* in step2.
>>>> 4.Perform few click operations using selenium webdriver.
>>>>
>>>    5.copy the list of records from f) to g)
>>>
>>> Please provide your suggestion how to perform this task in a better way.
>>>
>>> can i use celery application and launch the browser and perform the
>>> click operations using selenium webdriver ?
>>> Is there any better way please suggest me.
>>>
>>> Regards,
>>> N.Dilip Kumar.
>>>
>>>>
>>>>
>>>>
>>>>
>>> --
>>> You received this message because you are subscribed to the Google
>>> Groups "Django users" group.
>>> To unsubscribe from this group and stop receiving emails from it, send
>>> an email to django...@googlegroups.com.
>>> To view this discussion on the web visit
>>> https://groups.google.com/d/msgid/django-users/87eaa9b9-eccb-4f7c-87b3-3a6a2d6ee8b7%40googlegroups.com
>>> <https://groups.google.com/d/msgid/django-users/87eaa9b9-eccb-4f7c-87b3-3a6a2d6ee8b7%40googlegroups.com?utm_medium=email&utm_source=footer>
>>> .
>>>
>> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to django-users+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/3292dd2d-b5b7-4b65-8d67-8b3276e4f94f%40googlegroups.com
> <https://groups.google.com/d/msgid/django-users/3292dd2d-b5b7-4b65-8d67-8b3276e4f94f%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAEMqiPezLR9s%3DXVpUk-D-Bu7_O57_bR5mB7NmgY7Trw-iCwq9g%40mail.gmail.com.

Reply via email to