A MagicalGirl trope. Usually more heavily linked to the CuteWitch, especially travellers from other realms or planets, than other types of magical girls.

Basically the protagonist is a magic user who [[EverythingsBetterWithPrincesses is a candidate to become Queen back in her home realm/planet/whatever]]. She has come to Earth as part of a test of character to prove she is queen material, either by making the world a better place with her magic, or by directly competing with a (usually friendly) rival (who often is at least somewhat of a DarkMagicalGirl) to accrue some sort of PlotCoupon to prove her worthiness. That or it is just tradition for magical princesses to spend some time on Earth before they can become queen. While doing so she usually lives with some MuggleFosterParents who may or may not know she is magical.

Not all magical travellers have this plot element, some of them just visit earth out of curiosity and others are sent there to make it a better place or reconnect it with their home realm which may be in jeopardy but don't have the Queen competition element (so this trope doesn't include Princesses who would become queen anyway regardless of if they ever visited the planet e.g. ''MagicalPrincessMinkyMomo'' and ''SallyTheWitch'' who are magical princesses and Earth visitors, but aren't being specifically tested, don't count - Sally ''does'' have magical tests, but these are in regards to her magical skills than her queenly aptitude). Note if the MagicalGirl in question never leaves her realm but is still competing for Queendom then she probably does count, but visiting Earth is fairly common to this trope.

There may be a SecretTestOfCharacter involved.

----
!!Straight Examples:

[[foldercontrol]]

[[folder: Anime and Manga ]]

* ''MajokkoMegChan'' was both the first magical girl show to introduce a rival, and it was pretty much the TropeMaker for this trope too. Meg-chan is competing with another extra dimensional traveller called Non for the throne. She has a [[MuggleFosterParents Muggle Foster Family]] (other than the mother, who is also a witch) and she herself has no concept of family coming from a realm where families don't exist. In the end, [[spoiler: they BOTH fail the test and both pretty much end up right back where they started.]]
* Played with rather interestingly in ''HanaNoKoLunLun''. The titular CuteWitch had to find the MacGuffin (a magical flower known as "the Seven Colors Flower") in her travels -- but it was nor for ''herself'' but to enable someone else (the Prince of the Flower Star) to legitimately ascend to the throne. On the other hand, the BigBad Togenishia was a VainSorceress from the Flower Star who wanted Lunlun to find the PlotCoupon and then ''steal'' it from her so she could be crowned as Queen instead. [[spoiler: Lunlun succeeds, Togenishia is defeated... and it turns out that the Prince was Lunlun's MysteriousProtector, whom she's in love with. He steps out of the succession line, gives the Flower to his younger brother who's crowned in his place, and marries Lunlun to live on Earth with her.]]
* ''UltraManiac'' has this in the anime but not in the manga, where Nina Sakura merely came to Earth from the Magic Kingdom as a [[IneptMage hopeless]] [[NewTransferStudent transfer student]]. In the anime she is searching for five "[[PlotCoupon Holy Stones]]" so she can marry the Prince of the Magic Kingdom. She is competing with her childhood friend Maaya, an anime only character.
* ''SugarSugarRune'' Chocolat and Vanilla are competing in order to become Queen of the Magical World by seeing who can steal the most "[[PlotCoupon hearts]]" from humans.
* ''PetitePrincessYucie'' never visits Earth but she is a MagicalGirl (albeit in a seinen series) competing with other mages for the title of Queen.
* ''HimechanNoRibon'' has a variation on this. The titular MagicalGirl isn't the princess, but it's her job to test out the magic ribbon Erika, her magic world counterpart, created to prove that Erika is worthy as a princess.
* This is the premise of the third season of ''OnegaiMyMelody'', where My Melody and Kuromi are being considered as the new Princess of Mary Land.
* This drives the plot of ''Anime/MagicalAngelSweetMint''.
* This trope is the entire plot of ''ZatchBell''. 100 child demons are sent to earth to fight one another and the last one standing is crowned King of their world.
* Hana undergoes this in the last season of ''Anime/OjamajoDoremi'' to earn her right to be heir to the Witch World's throne again. Though it should be noted that every witch in training has to go through the exams she did.

[[/folder]]

[[folder: Film ]]

* ''PansLabyrinth'' features easily one of the darkest examples of the trope. A girl named Ofelia, who lives in the times of the Spanish Civil Ear, must go through three dangerous trials to prove to the Faun that her "essence" is still intact, and she is worthy to return to the Underworld as Princess Moanna, all while dodging her sadistic Fascist step-father. [[spoiler:In the end, she's shot to death by said stepfather - but, [[BittersweetEnding happily]], death turns out to be a requirement of [[FridgeBrilliance being a Princess of the Underworld]].]] WordOfGod says that the whole deal ''truly'' happened in story, and the Underworld and the Faun weren't simply the product of Ofelia's imagination as she tried to cope [[BreakTheCutie with her terrible life]] [[spoiler: and later her own death.]]
* The plot of Film/{{Thor}} involves Thor being sent to Midgard when it becomes obvious that he is not worthy of being the next King of Asgard, only regaining his full powers and being allowed to return after he proves himself worthy through heroism and self-sacrifice. Essentially, his exile to Midgard is a Magical Boy Kingliness Test.

[[/folder]]

[[folder: Live Action TV ]]

* ''Series/StargateAtlantis'' has a slight variant on this in the 4th season episode "Harmony" -- the princess doesn't visit Earth, but ''is'' required to complete a task and activate an Ancient device to prove her worth as the new Queen.

[[/folder]]

[[folder: Tabletop Games ]]

* The TabletopGame/YuGiOh TCG references this trope with the card "Trials of the Princess" which is used to turn either [[WhiteMage White Magician]] [[MagicalGirl Pikeru]] or [[BlackMage Ebon Magician]] [[DarkMagicalGirl Curran]] into Princess Pikeru or Princess Curran.

[[/folder]]

[[folder: Video Games ]]

* The ''Franchise/{{Angelique}}'' series centers around an inverse version of this: the protagonist is competing against a rival to see who will become Queen, but the girl is taken out of her normal life on Earth to become a Queen Candidate.
* The whole point of ''VisualNovel/LongLiveTheQueen''.

[[/folder]]

[[folder: Web Comics]]
* The Ha'yli'tet'h of ''Webcomic/AtomicLaundromat'' - the one undergoing it is cast out of the empire, and must prove themselves worthy to lead, or never return. They are teleported to a planet of their choosing outside of the empire, and get to leave with the clothes on their back, rations for a week and an object (either a weapon or something useless) drawn at random from a ceremonial container.
[[/folder]]

[[folder: Western Animation ]]

* The third season finale of ''WesternAnimation/MyLittlePonyFriendshipIsMagic'' reveals that [[spoiler:the '''''entire series to that point''''' has been a MagicalGirlQueenlinessTest for Twilight Sparkle, without her knowledge.]]
* Some version of this is clearly in play in "The Beginning of Rainbowland" (an origin story for ''WesternAnimation/RainbowBrite''), where Rainbow -- named Wisp -- comes to a ruined world on a quest to save it. Initially she has no powers at all, and she becomes ruler over the new world rather than return to her homeland.

[[/folder]]

!!Parody Examples:

[[folder: Anime and Manga ]]

* ''PrettySammy'' has a variation, like ''[=LunLun=]'' before it Pretty Sammy isn't competing to become Queen herself. Instead she is the champion of Tsunami, one of the candidates for Queen. Her rival, Pixy Misa is the champion of a different candidate called Ramia. Pixy Misa sends monsters for Pretty Sammy to fight. Making this more of a MagicalGirlWarrior series.
* ''DaiMahouTouge'' has a princess sent to Earth for a year from a realm called Magical Land, due to it being tradition for Magical Land's Queens. But this magical princess is ''evil'' (but still cute!) and causes a lot of destruction, including killing everyone who threatens her even slightly, the opening sequence has her dancing over burning cities and her magical phrase is "Lyrical Tokarev, Kill Them All!".
* Referenced in ''MahouSenseiNegima''. When Asakura first witnesses Negi's magic, she briefly wonders if he might be doing a (genderflipped) version of this. She also considers the possibilities of him being a superhero or an alien.
** Surprisingly, she was partially right; Negi came to Japan to teach as part of a test to become a full mage. [[spoiler: And it turns out that his mother is a princess, meaning that he actually fits both the "[[WarriorPrince royalty]]" and "test" criteria for this trope, even if the two things are unrelated.]]
** "Superhero" does a decent job of describing Negi's role. ''And'' [[spoiler: his mother and father live (lived?) on Mars, so he's ''technically'' an alien.]]

[[/folder]]

[[folder: Western Animation]]
* In ''WesternAnimation/StarVsTheForcesOfEvil'', Star Butterfly is a princess of a magical kingdom in another dimension who's sent to live on Earth...not to pass any kind of test, but because she clearly can't handle the powers of the MagicWand she inherited from her parents, having almost destroyed the kingdom with it.
[[/folder]]

----