Help with CF and Robot Framework

5 views
Skip to first unread message

Samuel Adams

unread,
May 1, 2023, 11:01:19 AM5/1/23
to TACFUG
Howdy,

I am using Robot Framework for testing and have one CF specific issue. I would like to click on the CFLayout generated tabs, but can not find the correct ID. If anyone has any experience with this I would appreciate the help.

thanks,

Samuel Adams.

Jim Priest

unread,
May 1, 2023, 11:57:59 AM5/1/23
to tac...@googlegroups.com
I used Robot for awhile, moved onto Cypress and would now recommend Playwright LOL

I started adopting using the data attributes (I use data-testid="") after working with Cypress.  Playwright also suggests this ...

https://docs.cypress.io/guides/references/best-practices#Selecting-Elements
https://playwright.dev/docs/locators#locate-by-test-id


Cypress and Playwright both will wait until the content is rendered before running - are you sure your ID is present when Robot runs? 

It's been awhile since I looked at Robot docs - but something like this may be worth a try: https://forum.robotframework.org/t/wait-for-complete-page-load-in-robot-framework/4597

Good luck!
Jim



--
You received this message because you are subscribed to the Google Groups "TACFUG" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tacfug+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/tacfug/65c2c09e-6813-4018-aabf-01f7391456cen%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages