How can i extract data from this website using gettext

I have gone through this website: Problems on Trains - Aptitude Questions and Answers

Here I have to extract the question and the options for that particular question. I also want to click to the next page.

This is what you should output

1:- Question
A:- Ans1
B:- Ans2
C:- Ans3
D:- Ans4

2:- Question 2
A:- Ans1
B:- Ans2
C:- Ans3
D:- Ans4

and so

one of many options: data scraping / table extraction

Thats the thing i dont have to use datascrapping

Hello @indiedev91

This can be easily achieved with Table extraction or Data scrapping. Can you please confirm why you are looking for Get Text instead of the other 2 activities?

If you need to use Get Text then the logic needs to be created. It means each question will be having a rownumber attribute, you have to use it to loop.

Thanks

as an alternate (one of many options):
find children / for each ui element and modelling the retrieval