menu
announcement

Spectrum is now read-only. Learn more about the decision in our official announcement.

Flood

A place to chat about load testing and answer questions.

Channels
Team
Posts
Members
Info

How to switch to iframe and perform some actions

#general #element #iframe Hi, I am new to element scripting. I am writing a typescript where I there is an element I want to select inside the iFrame. can some one please help me on how to switch to iFrame, select an element and then switch back to dropdown. And finally how to…

message-simple
0

Running tests with data from external DB

Is there a way to run multiple scripts but with data taken from the external data source? I need to run hundreds of tests with the login functionality under 100 different users.

message-simple
1
·135d·Pinned# Element

Any plans for Flood community?

As this chat is closing soon and GitHub is not really the place for how-to questions, is there any forum planned for Flood? It would be very useful for beginners like me. Cheers

message-simple
5

How to add Import statements?

Hi, I'm very much a beginner - I have a new directory in my C: drive named 'floodstarter' and created a new project from command line, with default name. My imports are not recognised in the .ts file though and I cannot see how to find them (using VS code). Snippet below: import…

message-simple
1

Error when using the "--export" switch.

I have created my script and am running locally. I wanted to use the --export switch. However, when I do, the test completes, but then an error happens: at processImmediate (node:internal/timers:464:21) AssertionError [ERR_ASSERTION]: Trying to copy from a source that does not…

message-simple
1

Right Click Menu Option - Context Click (Element)

Hi there, has anyone managed to carry out a context menu (Right Click) in Element? if so an example would be a great help :) Thanks https://element.flood.io/docs/api/mouse#mouseclickx-y-options

message-simple
0

Using waitForNewPage()

I'm trying to run a scenario that is using 2 tabs simultaneously. As I understand from the documentation, by invoking the browser.waitForNewPage() I should be able to create a new tab. When running locally ( element run my-element-project.perf.ts ) the line await…

message-simple
4

trying flood script locally, seeing Error! An unexpected rejection occurred

I am using v1.5.4 While running my test locally, it gives same error at different step. How to get detail error message for the above error? Any help appreciated.

message-simple
0

Working with iframes - Element 2.0.4

I have installed 2.0.4 and dealing with iframes where I need to click on the particular element on the iframe which will open another text box where I need to enter my value. When I try to click on the element using “await page.frame.click” – am getting an error message…

message-simple
0

Maximise browser window size

I am writing a load test script on flood element, and want to maximise the window/browser size when running the test as its not running how it is supposed to when not maximised. Can you help?

message-simple
17