Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to get the code generator #9

Closed
AnunayaThakureb opened this issue May 26, 2022 · 7 comments
Closed

How to get the code generator #9

AnunayaThakureb opened this issue May 26, 2022 · 7 comments

Comments

@AnunayaThakureb
Copy link

When I start the server and go to the local host

image

when go to help it says

image

How to get the code generator?

@AnunayaThakureb AnunayaThakureb changed the title Hoe to get the code generator How to get the code generator May 26, 2022
@anunay1
Copy link

anunay1 commented May 26, 2022

@dtmilano Can you please help?

@szymondziedziel
Copy link

szymondziedziel commented May 26, 2022

I remember that I had the same problem someday.

When I hit http://localhost:9987 I get same thing as you on the first screen
When I hit http://localhost:9987/help I get same thing as you shown on the second screen

When I hit http://localhost:9987/v2/uiDevice/dumpWindowHierarchy?format=xml I get dumped hierarchy in xml. I remember that I had problem with missing v2 in URL
When I hit http://localhost:9987/v2/uiDevice/screenshot I get screenshot from device

Be aware that I have different port than you

Edit:
But this is probably not the answer to the question. I am not sure what code generator exactly means

@anunay1
Copy link

anunay1 commented May 26, 2022

Thanks @szymondziedziel for the response, but what I am looking for is how to get this window:
image

@dtmilano
Copy link
Owner

@anunay1 the screenshot is from a discontinued product and it's no longer available.
There will be a replacement in the future and a preview is in this video

@AnunayaThakureb
Copy link
Author

Thanks @dtmilano for the response. Any plans when can we have the future replacement.

@dtmilano
Copy link
Owner

@AnunayaThakureb culebra can still generate python code that's compatible with CulebraTester2-public if you choose the right option.
This is a working example: https://stackoverflow.com/questions/72352682/adb-force-real-touch/72370929#72370929

The main difference of the new tool (the one from the video) is that it can also generate other languages (Kotlin, Java, javascript/typescript, etc.) and it's web-based instead of Tkinter.

If you have more questions or encounter some problem with culebra don't hesitate to open an issue here or ask at StackOverflow.

@anunay1
Copy link

anunay1 commented May 27, 2022

Thanks @dtmilano for the response and excellent support. Any plans by when you can provide the web based interface, I am support to test it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants